We divide 766377 by 40
We want to figure out the number of times 766377 can be divided by 40.

Step 1:
40 can be fit into 7 0 times, resulting in a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 40

On to step 2:
The number 40 fits into 76 1 times, leaving 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.
Bring next digit (6) of the dividend behind the 36 and repeat the process: 366 / 40

Let's proceed to step 3:
The number 40 fits into 366 9 times, leaving a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
The remainder is 6 after subtracting 360 from 366.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 40

Going ahead to step 4:
If we divide 63 by 40, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 191.0
If we take 40 away from 63, we end up with 23.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 40

Going ahead to step 5:
When dividing 237 by 40, we get 5 with a remainder of 37.
Record the quotient 5 as the next digit in the result. 
Result so far: 1915.0
If we take 200 away from 237, we end up with 37.
Fetch the next digit (7) from the dividend, attach it to 37 and continue: 377 / 40

Moving on to step 6:
When dividing 377 by 40, we get 9 with a remainder of 17.
Write down 9 as next digit of the result. 
Result so far: 19159.0
The remainder is 17 after subtracting 360 from 377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
40 can be fit into 170 4 times, resulting in a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 19159.4
Subtract 160 from 170 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
If we divide 100 by 40, we get 2 and a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 19159.42
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.

Let's proceed to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 19159.425
If we take 200 away from 200, we end up 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.

Moving on 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: 19159.425
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.

On to 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: 19159.425
Deduct 0 from 0 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.

The quotient of the division is 19159.425, and the remainder is 0.0.