We divide 40635539 by 786
Our goal is to divide 40635539 by 786.

Advancing to step 1:
786 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 786

On to step 2:
The number 786 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Include the next digit (6) from the dividend after 40, then repeat: 406 / 786

Step 3:
786 can be fit into 406 0 times, resulting in a remainder of 406.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 406 to get 406.
Fetch the next digit (3) from the dividend, attach it to 406 and continue: 4063 / 786

Advancing to step 4:
The number 786 fits into 4063 5 times, leaving a remainder of 133.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 3930 from 4063 to get 133.
Grab the next digit (5) from the dividend, add it to 133, then carry on: 1335 / 786

Going ahead to step 5:
1335 divided by 786 is 1 with a remainder of 549.
Put 1 as the next digit of the answer. 
Result so far: 51.0
Subtract 786 from 1335 to get 549.
Include the next digit (5) from the dividend after 549, then repeat: 5495 / 786

Let's proceed to step 6:
786 can be fit into 5495 6 times, resulting in a remainder of 779.
The number 6 becomes the next digit in our result. 
Result so far: 516.0
If we subtract 4716 from 5495, we get 779.
Append the next digit (3) from the dividend to 779 and continue with: 7793 / 786

Going ahead to step 7:
7793 divided by 786 is 9 with a remainder of 719.
Use 9 as the next digit of our solution. 
Result so far: 5169.0
Subtract 7074 from 7793 to get 719.
Take the next digit (9) from the dividend and append it to 719, then repeat: 7199 / 786

Step 8:
786 can be fit into 7199 9 times, resulting in a remainder of 125.
Write down 9 as next digit of the result. 
Result so far: 51699.0
If we subtract 7074 from 7199, we get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

On to step 9:
If we divide 1250 by 786, we get 1 and a remainder of 464.
Use 1 as the next digit of our solution. 
Result so far: 51699.1
Deduct 786 from 1250 and we're left with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Going ahead to step 10:
786 can be fit into 4640 5 times, resulting in a remainder of 710.
The next digit of our result is 5. 
Result so far: 51699.15
If we subtract 3930 from 4640, we get 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Going ahead to step 11:
786 goes into 7100 9 times with a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 51699.159
If we take 7074 away from 7100, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 12:
The number 786 fits into 260 0 times, leaving a remainder of 260.
Use 0 as the next digit of our solution. 
Result so far: 51699.159
If we subtract 0 from 260, we get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Let's proceed to step 13:
When dividing 2600 by 786, we get 3 with a remainder of 242.
Use 3 as the next digit of our solution. 
Result so far: 51699.15903
Deduct 2358 from 2600 and we're left with 242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2420, and continue the process.

Let's proceed to step 14:
786 goes into 2420 3 times with a remainder of 62.
Use 3 as the next digit of our solution. 
Result so far: 51699.159033
If we subtract 2358 from 2420, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

The final result is 51699.159033 with a remainder of 6.2e-06.