938402 divided by 87 
The aim is to understand the frequency of 87 in 938402.

Step 1:
87 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (3) from the dividend and append it to 9, then repeat: 93 / 87

Advancing to step 2:
93 divided by 87 is 1 with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 6 after subtracting 87 from 93.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 87

On to step 3:
87 goes into 68 0 times with a remainder of 68.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
The remainder is 68 after subtracting 0 from 68.
Bring next digit (4) of the dividend behind the 68 and repeat the process: 684 / 87

Going ahead to step 4:
The number 87 fits into 684 7 times, leaving a remainder of 75.
The next digit of our result is 7. 
Result so far: 107.0
If we take 609 away from 684, we end up with 75.
Fetch the next digit (0) from the dividend, attach it to 75 and continue: 750 / 87

Step 5:
The number 87 fits into 750 8 times, leaving a remainder of 54.
The next digit of our result is 8. 
Result so far: 1078.0
Deduct 696 from 750 and we're left with 54.
Include the next digit (2) from the dividend after 54, then repeat: 542 / 87

Advancing to step 6:
87 can be fit into 542 6 times, resulting in a remainder of 20.
Put 6 as the next digit of the answer. 
Result so far: 10786.0
Subtracting 522 from 542 leaves us 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.

On to step 7:
200 divided by 87 is 2 with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 10786.2
Deduct 174 from 200 and we're left 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.

Step 8:
If we divide 260 by 87, we get 2 and a remainder of 86.
Record the quotient 2 as the next digit in the result. 
Result so far: 10786.22
Subtracting 174 from 260 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

The final outcome is 10786.22, with a leftover of 0.086.