We divide 39870511 by 371
Our goal is to divide 39870511 by 371.

Step 1:
3 divided by 371 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 371

Advancing to step 2:
When dividing 39 by 371, we get 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 371

Step 3:
398 divided by 371 is 1 with a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 27 after subtracting 371 from 398.
Take the next digit (7) from the dividend and append it to 27, then repeat: 277 / 371

Step 4:
The number 371 fits into 277 0 times, leaving a remainder of 277.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtracting 0 from 277 leaves us with 277.
Bring next digit (0) of the dividend behind the 277 and repeat the process: 2770 / 371

Let's proceed to step 5:
371 goes into 2770 7 times with a remainder of 173.
Put 7 as the next digit of the answer. 
Result so far: 107.0
If we subtract 2597 from 2770, we get 173.
Fetch the next digit (5) from the dividend, attach it to 173 and continue: 1735 / 371

On to step 6:
371 goes into 1735 4 times with a remainder of 251.
Record the quotient 4 as the next digit in the result. 
Result so far: 1074.0
If we take 1484 away from 1735, we end up with 251.
Bring next digit (1) of the dividend behind the 251 and repeat the process: 2511 / 371

Let's proceed to step 7:
371 can be fit into 2511 6 times, resulting in a remainder of 285.
The number 6 becomes the next digit in our result. 
Result so far: 10746.0
Subtract 2226 from 2511 to get 285.
Take the next digit (1) from the dividend and append it to 285, then repeat: 2851 / 371

Let's proceed to step 8:
2851 divided by 371 is 7 with a remainder of 254.
Write down 7 as next digit of the result. 
Result so far: 107467.0
Subtract 2597 from 2851 to get 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Moving on to step 9:
The number 371 fits into 2540 6 times, leaving a remainder of 314.
The next digit of our result is 6. 
Result so far: 107467.6
Subtracting 2226 from 2540 leaves us with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

On to step 10:
371 can be fit into 3140 8 times, resulting in a remainder of 172.
The next digit of our result is 8. 
Result so far: 107467.68
The remainder is 172 after subtracting 2968 from 3140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

On to step 11:
371 can be fit into 1720 4 times, resulting in a remainder of 236.
The next digit of our result is 4. 
Result so far: 107467.684
If we subtract 1484 from 1720, we get 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Let's proceed to step 12:
2360 divided by 371 is 6 with a remainder of 134.
The number 6 becomes the next digit in our result. 
Result so far: 107467.6846
If we subtract 2226 from 2360, we get 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Moving on to step 13:
When dividing 1340 by 371, we get 3 with a remainder of 227.
Record the quotient 3 as the next digit in the result. 
Result so far: 107467.68463
Deduct 1113 from 1340 and we're left with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

Advancing to step 14:
2270 divided by 371 is 6 with a remainder of 44.
The number 6 becomes the next digit in our result. 
Result so far: 107467.684636
Subtract 2226 from 2270 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 15:
371 can be fit into 440 1 times, resulting in a remainder of 69.
The number 1 becomes the next digit in our result. 
Result so far: 107467.6846361
If we take 371 away from 440, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Let's proceed to step 16:
If we divide 690 by 371, we get 1 and a remainder of 319.
Put 1 as the next digit of the answer. 
Result so far: 107467.68463611
If we take 371 away from 690, we end up with 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3190, and continue the process.

After the division, we end up with 107467.68463611 and a remainder of 3.19e-07.