We look at the division of 4060957 by 871 
Our goal is to divide 4060957 by 871.

Step 1:
If we divide 4 by 871, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 871

On to step 2:
When dividing 40 by 871, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (6) from the dividend after 40, then repeat: 406 / 871

On to step 3:
871 goes into 406 0 times with a remainder of 406.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 406 and we're left with 406.
Grab the next digit (0) from the dividend, add it to 406, then carry on: 4060 / 871

Let's proceed to step 4:
The number 871 fits into 4060 4 times, leaving a remainder of 576.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 576 after subtracting 3484 from 4060.
Append the next digit (9) from the dividend to 576 and continue with: 5769 / 871

Moving on to step 5:
If we divide 5769 by 871, we get 6 and a remainder of 543.
Write down 6 as next digit of the result. 
Result so far: 46.0
Subtracting 5226 from 5769 leaves us with 543.
Include the next digit (5) from the dividend after 543, then repeat: 5435 / 871

Going ahead to step 6:
If we divide 5435 by 871, we get 6 and a remainder of 209.
Write down 6 as next digit of the result. 
Result so far: 466.0
If we take 5226 away from 5435, we end up with 209.
Bring next digit (7) of the dividend behind the 209 and repeat the process: 2097 / 871

Advancing to step 7:
The number 871 fits into 2097 2 times, leaving a remainder of 355.
Write down 2 as next digit of the result. 
Result so far: 4662.0
Subtract 1742 from 2097 to get 355.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3550, and continue the process.

Moving on to step 8:
The number 871 fits into 3550 4 times, leaving a remainder of 66.
The next digit of our result is 4. 
Result so far: 4662.4
If we subtract 3484 from 3550, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 9:
The number 871 fits into 660 0 times, leaving a remainder of 660.
The next digit of our result is 0. 
Result so far: 4662.4
If we take 0 away from 660, we end up with 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

Moving on to step 10:
6600 divided by 871 is 7 with a remainder of 503.
Record the quotient 7 as the next digit in the result. 
Result so far: 4662.407
Subtract 6097 from 6600 to get 503.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5030, and continue the process.

Advancing to step 11:
If we divide 5030 by 871, we get 5 and a remainder of 675.
The number 5 becomes the next digit in our result. 
Result so far: 4662.4075
The remainder is 675 after subtracting 4355 from 5030.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6750, and continue the process.

On to step 12:
When dividing 6750 by 871, we get 7 with a remainder of 653.
The next digit of our result is 7. 
Result so far: 4662.40757
Subtracting 6097 from 6750 leaves us with 653.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6530, and continue the process.

Going ahead to step 13:
871 goes into 6530 7 times with a remainder of 433.
Use 7 as the next digit of our solution. 
Result so far: 4662.407577
Subtract 6097 from 6530 to get 433.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4330, and continue the process.

The final result is 4662.407577 with a remainder of 4.33e-05.