We divide 782201 by 40
We're looking to find how many times 40 goes into 782201.

Moving on to step 1:
When dividing 7 by 40, we get 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 40

Going ahead to step 2:
78 divided by 40 is 1 with a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 40 from 78, we get 38.
Take the next digit (2) from the dividend and append it to 38, then repeat: 382 / 40

Going ahead to step 3:
If we divide 382 by 40, we get 9 and a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 19.0
If we take 360 away from 382, we end up with 22.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 40

Let's proceed to step 4:
40 goes into 222 5 times with a remainder of 22.
Write down 5 as next digit of the result. 
Result so far: 195.0
If we subtract 200 from 222, we get 22.
Grab the next digit (0) from the dividend, add it to 22, then carry on: 220 / 40

Going ahead to step 5:
220 divided by 40 is 5 with a remainder of 20.
The next digit of our result is 5. 
Result so far: 1955.0
Subtracting 200 from 220 leaves us with 20.
Fetch the next digit (1) from the dividend, attach it to 20 and continue: 201 / 40

Step 6:
If we divide 201 by 40, we get 5 and a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 19555.0
If we take 200 away from 201, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
The number 40 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 19555.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
If we divide 100 by 40, we get 2 and a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 19555.02
Subtract 80 from 100 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
40 goes into 200 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 19555.025
If we subtract 200 from 200, 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.

Step 10:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19555.025
Subtract 0 from 0 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.

Advancing to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 19555.025
If we subtract 0 from 0, 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.

The final outcome is 19555.025, with a leftover of 0.0.