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

Moving on to step 1:
6 divided by 40 is 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 40

Step 2:
40 goes into 68 1 times with a remainder of 28.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 40 from 68 to get 28.
Bring next digit (7) of the dividend behind the 28 and repeat the process: 287 / 40

Going ahead to step 3:
If we divide 287 by 40, we get 7 and a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 280 from 287 to get 7.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 40

Let's proceed to step 4:
The number 40 fits into 71 1 times, leaving a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 171.0
Deduct 40 from 71 and we're left with 31.
Include the next digit (3) from the dividend after 31, then repeat: 313 / 40

On to step 5:
The number 40 fits into 313 7 times, leaving a remainder of 33.
The number 7 becomes the next digit in our result. 
Result so far: 1717.0
If we take 280 away from 313, we end up with 33.
Include the next digit (5) from the dividend after 33, then repeat: 335 / 40

Let's proceed to step 6:
40 goes into 335 8 times with a remainder of 15.
Put 8 as the next digit of the answer. 
Result so far: 17178.0
If we subtract 320 from 335, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed 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: 17178.3
Subtract 120 from 150 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
300 divided by 40 is 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 17178.37
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.

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: 17178.375
Subtract 200 from 200 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 10:
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: 17178.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.

Step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 17178.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.

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