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

Advancing to step 1:
When dividing 3 by 87, we get 0 with 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.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 87

Going ahead to step 2:
87 can be fit into 33 0 times, resulting in a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Take the next digit (8) from the dividend and append it to 33, then repeat: 338 / 87

Step 3:
338 divided by 87 is 3 with a remainder of 77.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 261 away from 338, we end up with 77.
Include the next digit (8) from the dividend after 77, then repeat: 778 / 87

Advancing to step 4:
When dividing 778 by 87, we get 8 with a remainder of 82.
The next digit of our result is 8. 
Result so far: 38.0
Deduct 696 from 778 and we're left with 82.
Append the next digit (6) from the dividend to 82 and continue with: 826 / 87

Going ahead to step 5:
If we divide 826 by 87, we get 9 and a remainder of 43.
Write down 9 as next digit of the result. 
Result so far: 389.0
If we subtract 783 from 826, we get 43.
Append the next digit (7) from the dividend to 43 and continue with: 437 / 87

Moving on to step 6:
437 divided by 87 is 5 with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 3895.0
Deduct 435 from 437 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
87 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 3895.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
The number 87 fits into 200 2 times, leaving a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 3895.02
Subtracting 174 from 200 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 9:
If we divide 260 by 87, we get 2 and a remainder of 86.
Put 2 as the next digit of the answer. 
Result so far: 3895.022
The remainder is 86 after subtracting 174 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

In conclusion, the division gives 3895.022 with a balance of 0.0086.