We divide 40014047 by 786
We're looking to find how many times 786 goes into 40014047.

Advancing to step 1:
If we divide 4 by 786, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 786

Moving on to step 2:
The number 786 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 786

Moving on to step 3:
786 can be fit into 400 0 times, resulting in a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 400 and we're left with 400.
Bring next digit (1) of the dividend behind the 400 and repeat the process: 4001 / 786

Let's proceed to step 4:
If we divide 4001 by 786, we get 5 and a remainder of 71.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 3930 from 4001, we get 71.
Bring next digit (4) of the dividend behind the 71 and repeat the process: 714 / 786

Let's proceed to step 5:
The number 786 fits into 714 0 times, leaving a remainder of 714.
The next digit of our result is 0. 
Result so far: 50.0
Subtract 0 from 714 to get 714.
Take the next digit (0) from the dividend and append it to 714, then repeat: 7140 / 786

Going ahead to step 6:
If we divide 7140 by 786, we get 9 and a remainder of 66.
Use 9 as the next digit of our solution. 
Result so far: 509.0
Subtract 7074 from 7140 to get 66.
Grab the next digit (4) from the dividend, add it to 66, then carry on: 664 / 786

Step 7:
When dividing 664 by 786, we get 0 with a remainder of 664.
Record the quotient 0 as the next digit in the result. 
Result so far: 5090.0
Subtract 0 from 664 to get 664.
Append the next digit (7) from the dividend to 664 and continue with: 6647 / 786

Advancing to step 8:
786 can be fit into 6647 8 times, resulting in a remainder of 359.
Put 8 as the next digit of the answer. 
Result so far: 50908.0
If we subtract 6288 from 6647, we get 359.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3590, and continue the process.

On to step 9:
When dividing 3590 by 786, we get 4 with a remainder of 446.
The number 4 becomes the next digit in our result. 
Result so far: 50908.4
Deduct 3144 from 3590 and we're left with 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

Advancing to step 10:
786 goes into 4460 5 times with a remainder of 530.
Record the quotient 5 as the next digit in the result. 
Result so far: 50908.45
Subtracting 3930 from 4460 leaves us with 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Moving on to step 11:
5300 divided by 786 is 6 with a remainder of 584.
The next digit of our result is 6. 
Result so far: 50908.456
Subtract 4716 from 5300 to get 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5840, and continue the process.

Going ahead to step 12:
If we divide 5840 by 786, we get 7 and a remainder of 338.
Record the quotient 7 as the next digit in the result. 
Result so far: 50908.4567
Deduct 5502 from 5840 and we're left with 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

Moving on to step 13:
786 goes into 3380 4 times with a remainder of 236.
The next digit of our result is 4. 
Result so far: 50908.45674
If we take 3144 away from 3380, we end up with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Going ahead to step 14:
The number 786 fits into 2360 3 times, leaving a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 50908.456743
Subtract 2358 from 2360 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 15:
786 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 50908.456743
Subtract 0 from 20 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.

Moving on to step 16:
The number 786 fits into 200 0 times, leaving a remainder of 200.
The number 0 becomes the next digit in our result. 
Result so far: 50908.456743
If we take 0 away from 200, we end up with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The final outcome is 50908.456743, with a leftover of 2e-07.