We look at the division of 40764739 by 887 
Let's see how many times 887 fits into 40764739.

Going ahead to step 1:
887 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 887

Advancing to step 2:
887 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 887

Let's proceed to step 3:
The number 887 fits into 407 0 times, leaving a remainder of 407.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 407, we end up with 407.
Fetch the next digit (6) from the dividend, attach it to 407 and continue: 4076 / 887

Moving on to step 4:
887 can be fit into 4076 4 times, resulting in a remainder of 528.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 528 after subtracting 3548 from 4076.
Bring next digit (4) of the dividend behind the 528 and repeat the process: 5284 / 887

On to step 5:
887 goes into 5284 5 times with a remainder of 849.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
If we subtract 4435 from 5284, we get 849.
Bring next digit (7) of the dividend behind the 849 and repeat the process: 8497 / 887

On to step 6:
887 can be fit into 8497 9 times, resulting in a remainder of 514.
The next digit of our result is 9. 
Result so far: 459.0
Subtracting 7983 from 8497 leaves us with 514.
Grab the next digit (3) from the dividend, add it to 514, then carry on: 5143 / 887

Step 7:
887 goes into 5143 5 times with a remainder of 708.
Use 5 as the next digit of our solution. 
Result so far: 4595.0
Deduct 4435 from 5143 and we're left with 708.
Bring next digit (9) of the dividend behind the 708 and repeat the process: 7089 / 887

Let's proceed to step 8:
7089 divided by 887 is 7 with a remainder of 880.
Record the quotient 7 as the next digit in the result. 
Result so far: 45957.0
If we take 6209 away from 7089, we end up with 880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8800, and continue the process.

Going ahead to step 9:
887 goes into 8800 9 times with a remainder of 817.
Write down 9 as next digit of the result. 
Result so far: 45957.9
The remainder is 817 after subtracting 7983 from 8800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8170, and continue the process.

Moving on to step 10:
The number 887 fits into 8170 9 times, leaving a remainder of 187.
Put 9 as the next digit of the answer. 
Result so far: 45957.99
Subtract 7983 from 8170 to get 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

The quotient of the division is 45957.99, and the remainder is 0.187.