We look at the division of 787375 by 40 
We want to figure out the number of times 787375 can be divided by 40.

Moving on to step 1:
40 goes into 7 0 times with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 40

Advancing to step 2:
If we divide 78 by 40, we get 1 and a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 40 from 78 and we're left with 38.
Append the next digit (7) from the dividend to 38 and continue with: 387 / 40

Moving on to step 3:
387 divided by 40 is 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 19.0
The remainder is 27 after subtracting 360 from 387.
Append the next digit (3) from the dividend to 27 and continue with: 273 / 40

Moving on to step 4:
When dividing 273 by 40, we get 6 with a remainder of 33.
Write down 6 as next digit of the result. 
Result so far: 196.0
Subtract 240 from 273 to get 33.
Take the next digit (7) from the dividend and append it to 33, then repeat: 337 / 40

Let's proceed to step 5:
The number 40 fits into 337 8 times, leaving a remainder of 17.
Write down 8 as next digit of the result. 
Result so far: 1968.0
Subtract 320 from 337 to get 17.
Take the next digit (5) from the dividend and append it to 17, then repeat: 175 / 40

Advancing to step 6:
175 divided by 40 is 4 with a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 19684.0
Subtracting 160 from 175 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
When dividing 150 by 40, we get 3 with a remainder of 30.
Write down 3 as next digit of the result. 
Result so far: 19684.3
Deduct 120 from 150 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
300 divided by 40 is 7 with a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 19684.37
If we take 280 away from 300, we end up with 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.
Use 5 as the next digit of our solution. 
Result so far: 19684.375
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:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19684.375
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 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 19684.375
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.

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