Let's divide 80736 by 40
We want to divide 80736 by 40.

Advancing to step 1:
40 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 40

Step 2:
40 goes into 80 2 times with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 80 from 80, we get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 40

Moving on to step 3:
7 divided by 40 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 20.0
If we subtract 0 from 7, we get 7.
Include the next digit (3) from the dividend after 7, then repeat: 73 / 40

On to step 4:
If we divide 73 by 40, we get 1 and a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 201.0
Subtract 40 from 73 to get 33.
Fetch the next digit (6) from the dividend, attach it to 33 and continue: 336 / 40

Let's proceed to step 5:
The number 40 fits into 336 8 times, leaving a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 2018.0
Subtract 320 from 336 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 6:
The number 40 fits into 160 4 times, leaving a remainder of 0.
The next digit of our result is 4. 
Result so far: 2018.4
Subtract 160 from 160 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 2018.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2018.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 2018.4, and the remainder is 0.0.