We look at the division of 871839 by 47 
The aim is to understand the frequency of 47 in 871839.

Step 1:
The number 47 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 47

Step 2:
47 goes into 87 1 times with a remainder of 40.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 47 from 87, we get 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 47

Let's proceed to step 3:
If we divide 401 by 47, we get 8 and a remainder of 25.
The next digit of our result is 8. 
Result so far: 18.0
Deduct 376 from 401 and we're left with 25.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 47

On to step 4:
258 divided by 47 is 5 with a remainder of 23.
The number 5 becomes the next digit in our result. 
Result so far: 185.0
Deduct 235 from 258 and we're left with 23.
Take the next digit (3) from the dividend and append it to 23, then repeat: 233 / 47

Advancing to step 5:
When dividing 233 by 47, we get 4 with a remainder of 45.
Record the quotient 4 as the next digit in the result. 
Result so far: 1854.0
If we subtract 188 from 233, we get 45.
Take the next digit (9) from the dividend and append it to 45, then repeat: 459 / 47

On to step 6:
47 can be fit into 459 9 times, resulting in a remainder of 36.
The number 9 becomes the next digit in our result. 
Result so far: 18549.0
Deduct 423 from 459 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 7:
If we divide 360 by 47, we get 7 and a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 18549.7
Subtracting 329 from 360 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 8:
310 divided by 47 is 6 with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 18549.76
If we subtract 282 from 310, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 9:
When dividing 280 by 47, we get 5 with a remainder of 45.
Write down 5 as next digit of the result. 
Result so far: 18549.765
If we subtract 235 from 280, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 10:
450 divided by 47 is 9 with a remainder of 27.
The next digit of our result is 9. 
Result so far: 18549.7659
Subtracting 423 from 450 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 11:
If we divide 270 by 47, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 18549.76595
Deduct 235 from 270 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 12:
47 goes into 350 7 times with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 18549.765957
The remainder is 21 after subtracting 329 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 13:
When dividing 210 by 47, we get 4 with a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 18549.7659574
Subtract 188 from 210 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 14:
47 can be fit into 220 4 times, resulting in a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 18549.76595744
Deduct 188 from 220 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final result is 18549.76595744 with a remainder of 3.2e-08.