3871891 ÷ 787 
We want to divide 3871891 by 787.

Step 1:
The number 787 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 787

Moving on to step 2:
If we divide 38 by 787, we get 0 and a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 38 after subtracting 0 from 38.
Append the next digit (7) from the dividend to 38 and continue with: 387 / 787

Going ahead to step 3:
When dividing 387 by 787, we get 0 with a remainder of 387.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 387, we get 387.
Bring next digit (1) of the dividend behind the 387 and repeat the process: 3871 / 787

Going ahead to step 4:
787 goes into 3871 4 times with a remainder of 723.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 723 after subtracting 3148 from 3871.
Grab the next digit (8) from the dividend, add it to 723, then carry on: 7238 / 787

Moving on to step 5:
When dividing 7238 by 787, we get 9 with a remainder of 155.
Record the quotient 9 as the next digit in the result. 
Result so far: 49.0
If we subtract 7083 from 7238, we get 155.
Grab the next digit (9) from the dividend, add it to 155, then carry on: 1559 / 787

Let's proceed to step 6:
If we divide 1559 by 787, we get 1 and a remainder of 772.
The next digit of our result is 1. 
Result so far: 491.0
Subtract 787 from 1559 to get 772.
Fetch the next digit (1) from the dividend, attach it to 772 and continue: 7721 / 787

Let's proceed to step 7:
The number 787 fits into 7721 9 times, leaving a remainder of 638.
The number 9 becomes the next digit in our result. 
Result so far: 4919.0
If we subtract 7083 from 7721, we get 638.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6380, and continue the process.

On to step 8:
787 can be fit into 6380 8 times, resulting in a remainder of 84.
Record the quotient 8 as the next digit in the result. 
Result so far: 4919.8
Subtracting 6296 from 6380 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Step 9:
787 goes into 840 1 times with a remainder of 53.
Write down 1 as next digit of the result. 
Result so far: 4919.81
The remainder is 53 after subtracting 787 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Advancing to step 10:
The number 787 fits into 530 0 times, leaving a remainder of 530.
The number 0 becomes the next digit in our result. 
Result so far: 4919.81
Deduct 0 from 530 and we're left 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.

On to step 11:
The number 787 fits into 5300 6 times, leaving a remainder of 578.
The number 6 becomes the next digit in our result. 
Result so far: 4919.8106
The remainder is 578 after subtracting 4722 from 5300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5780, and continue the process.

Going ahead to step 12:
If we divide 5780 by 787, we get 7 and a remainder of 271.
Put 7 as the next digit of the answer. 
Result so far: 4919.81067
If we take 5509 away from 5780, we end up with 271.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2710, and continue the process.

Moving on to step 13:
787 goes into 2710 3 times with a remainder of 349.
The number 3 becomes the next digit in our result. 
Result so far: 4919.810673
If we take 2361 away from 2710, we end up with 349.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3490, and continue the process.

Advancing to step 14:
787 goes into 3490 4 times with a remainder of 342.
Write down 4 as next digit of the result. 
Result so far: 4919.8106734
If we subtract 3148 from 3490, we get 342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

Going ahead to step 15:
787 goes into 3420 4 times with a remainder of 272.
The number 4 becomes the next digit in our result. 
Result so far: 4919.81067344
The remainder is 272 after subtracting 3148 from 3420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

In conclusion, the division gives 4919.81067344 with a balance of 2.72e-07.