We look at the division of 871257 by 47 
We want to divide 871257 by 47.

Step 1:
47 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 47

Going ahead to step 2:
If we divide 87 by 47, we get 1 and a remainder of 40.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 47 from 87, we get 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 47

Moving on to step 3:
47 goes into 401 8 times with a remainder of 25.
The next digit of our result is 8. 
Result so far: 18.0
If we take 376 away from 401, we end up with 25.
Append the next digit (2) from the dividend to 25 and continue with: 252 / 47

Step 4:
When dividing 252 by 47, we get 5 with a remainder of 17.
Record the quotient 5 as the next digit in the result. 
Result so far: 185.0
If we take 235 away from 252, we end up with 17.
Bring next digit (5) of the dividend behind the 17 and repeat the process: 175 / 47

Going ahead to step 5:
175 divided by 47 is 3 with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 1853.0
Deduct 141 from 175 and we're left with 34.
Fetch the next digit (7) from the dividend, attach it to 34 and continue: 347 / 47

Let's proceed to step 6:
47 can be fit into 347 7 times, resulting in a remainder of 18.
The number 7 becomes the next digit in our result. 
Result so far: 18537.0
Subtracting 329 from 347 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
180 divided by 47 is 3 with a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 18537.3
If we subtract 141 from 180, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 8:
47 can be fit into 390 8 times, resulting in a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 18537.38
If we take 376 away from 390, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 9:
47 goes into 140 2 times with a remainder of 46.
Put 2 as the next digit of the answer. 
Result so far: 18537.382
If we take 94 away from 140, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 10:
47 can be fit into 460 9 times, resulting in a remainder of 37.
Write down 9 as next digit of the result. 
Result so far: 18537.3829
The remainder is 37 after subtracting 423 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 11:
47 can be fit into 370 7 times, resulting in a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 18537.38297
Subtracting 329 from 370 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Advancing to step 12:
410 divided by 47 is 8 with a remainder of 34.
Write down 8 as next digit of the result. 
Result so far: 18537.382978
If we subtract 376 from 410, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 13:
When dividing 340 by 47, we get 7 with a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 18537.3829787
The remainder is 11 after subtracting 329 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 14:
110 divided by 47 is 2 with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 18537.38297872
Deduct 94 from 110 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 18537.38297872 with a balance of 1.6e-08.