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

Going ahead to step 1:
If we divide 7 by 40, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 40

Advancing to step 2:
40 goes into 76 1 times with a remainder of 36.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 36 after subtracting 40 from 76.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 40

Advancing to step 3:
40 can be fit into 367 9 times, resulting in a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
If we subtract 360 from 367, we get 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 40

Step 4:
40 can be fit into 79 1 times, resulting in a remainder of 39.
The next digit of our result is 1. 
Result so far: 191.0
Deduct 40 from 79 and we're left with 39.
Take the next digit (1) from the dividend and append it to 39, then repeat: 391 / 40

Step 5:
When dividing 391 by 40, we get 9 with a remainder of 31.
Use 9 as the next digit of our solution. 
Result so far: 1919.0
Subtracting 360 from 391 leaves us with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 40

Moving on to step 6:
40 can be fit into 311 7 times, resulting in a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 19197.0
Deduct 280 from 311 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
40 can be fit into 310 7 times, resulting in a remainder of 30.
Write down 7 as next digit of the result. 
Result so far: 19197.7
The remainder is 30 after subtracting 280 from 310.
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: 19197.77
Subtracting 280 from 300 leaves us 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.

The final result is 19197.77 with a remainder of 0.02.