We're dividing 687787 by 40 
We want to divide 687787 by 40.

Advancing to step 1:
6 divided by 40 is 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 40

Let's proceed to step 2:
40 can be fit into 68 1 times, resulting in a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 40 from 68 and we're left with 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 40

Going ahead to step 3:
When dividing 287 by 40, we get 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 280 away from 287, we end up with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 40

Step 4:
When dividing 77 by 40, we get 1 with a remainder of 37.
Write down 1 as next digit of the result. 
Result so far: 171.0
If we take 40 away from 77, we end up with 37.
Bring next digit (8) of the dividend behind the 37 and repeat the process: 378 / 40

Advancing to step 5:
When dividing 378 by 40, we get 9 with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 1719.0
If we take 360 away from 378, we end up with 18.
Include the next digit (7) from the dividend after 18, then repeat: 187 / 40

Let's proceed to step 6:
40 goes into 187 4 times with a remainder of 27.
Use 4 as the next digit of our solution. 
Result so far: 17194.0
Deduct 160 from 187 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 7:
40 goes into 270 6 times with a remainder of 30.
Use 6 as the next digit of our solution. 
Result so far: 17194.6
The remainder is 30 after subtracting 240 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
40 goes into 300 7 times with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 17194.67
If we subtract 280 from 300, we 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.

Step 9:
200 divided by 40 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 17194.675
Deduct 200 from 200 and we're left 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.

Let's proceed to step 10:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 17194.675
Subtracting 0 from 0 leaves us 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.

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: 17194.675
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.

Our division results in 17194.675 with a remaining 0.0.