782072 ÷ 40 
We're looking to find how many times 40 goes into 782072.

Step 1:
40 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 40

On to step 2:
If we divide 78 by 40, we get 1 and a remainder of 38.
The next digit of our result is 1. 
Result so far: 1.0
If we take 40 away from 78, we end up with 38.
Bring next digit (2) of the dividend behind the 38 and repeat the process: 382 / 40

Moving on to step 3:
382 divided by 40 is 9 with a remainder of 22.
The next digit of our result is 9. 
Result so far: 19.0
The remainder is 22 after subtracting 360 from 382.
Include the next digit (0) from the dividend after 22, then repeat: 220 / 40

Moving on to step 4:
220 divided by 40 is 5 with a remainder of 20.
The number 5 becomes the next digit in our result. 
Result so far: 195.0
Subtract 200 from 220 to get 20.
Include the next digit (7) from the dividend after 20, then repeat: 207 / 40

Going ahead to step 5:
If we divide 207 by 40, we get 5 and a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 1955.0
If we take 200 away from 207, we end up with 7.
Grab the next digit (2) from the dividend, add it to 7, then carry on: 72 / 40

Step 6:
When dividing 72 by 40, we get 1 with a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 19551.0
The remainder is 32 after subtracting 40 from 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 7:
The number 40 fits into 320 8 times, leaving a remainder of 0.
The next digit of our result is 8. 
Result so far: 19551.8
If we subtract 320 from 320, we 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.

Let's proceed to step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19551.8
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 19551.8
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 19551.8 with a balance of 0.0.