We look at the division of 470839 by 87 
The aim is to understand the frequency of 87 in 470839.

On to step 1:
If we divide 4 by 87, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 87

Going ahead to step 2:
87 can be fit into 47 0 times, resulting in a remainder of 47.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 47 and we're left with 47.
Bring next digit (0) of the dividend behind the 47 and repeat the process: 470 / 87

Step 3:
470 divided by 87 is 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 35 after subtracting 435 from 470.
Append the next digit (8) from the dividend to 35 and continue with: 358 / 87

On to step 4:
87 can be fit into 358 4 times, resulting in a remainder of 10.
The number 4 becomes the next digit in our result. 
Result so far: 54.0
Subtracting 348 from 358 leaves us with 10.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 87

Moving on to step 5:
If we divide 103 by 87, we get 1 and a remainder of 16.
The next digit of our result is 1. 
Result so far: 541.0
If we take 87 away from 103, we end up with 16.
Bring next digit (9) of the dividend behind the 16 and repeat the process: 169 / 87

Moving on to step 6:
If we divide 169 by 87, we get 1 and a remainder of 82.
Put 1 as the next digit of the answer. 
Result so far: 5411.0
Subtract 87 from 169 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 7:
When dividing 820 by 87, we get 9 with a remainder of 37.
The number 9 becomes the next digit in our result. 
Result so far: 5411.9
The remainder is 37 after subtracting 783 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 8:
87 goes into 370 4 times with a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 5411.94
Subtracting 348 from 370 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 9:
If we divide 220 by 87, we get 2 and a remainder of 46.
The next digit of our result is 2. 
Result so far: 5411.942
Subtract 174 from 220 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 10:
460 divided by 87 is 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 5411.9425
If we take 435 away from 460, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 11:
When dividing 250 by 87, we get 2 with a remainder of 76.
Record the quotient 2 as the next digit in the result. 
Result so far: 5411.94252
The remainder is 76 after subtracting 174 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Let's proceed to step 12:
The number 87 fits into 760 8 times, leaving a remainder of 64.
The next digit of our result is 8. 
Result so far: 5411.942528
If we take 696 away from 760, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 13:
87 goes into 640 7 times with a remainder of 31.
The next digit of our result is 7. 
Result so far: 5411.9425287
Deduct 609 from 640 and we're left 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 14:
310 divided by 87 is 3 with a remainder of 49.
Write down 3 as next digit of the result. 
Result so far: 5411.94252873
If we take 261 away from 310, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

In conclusion, the division gives 5411.94252873 with a balance of 4.9e-08.