516872 ÷ 87 
The aim is to understand the frequency of 87 in 516872.

Moving on to step 1:
87 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 87

On to step 2:
51 divided by 87 is 0 with a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Take the next digit (6) from the dividend and append it to 51, then repeat: 516 / 87

Let's proceed to step 3:
When dividing 516 by 87, we get 5 with a remainder of 81.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 435 from 516, we get 81.
Grab the next digit (8) from the dividend, add it to 81, then carry on: 818 / 87

Step 4:
The number 87 fits into 818 9 times, leaving a remainder of 35.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
If we subtract 783 from 818, we get 35.
Include the next digit (7) from the dividend after 35, then repeat: 357 / 87

Moving on to step 5:
When dividing 357 by 87, we get 4 with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 594.0
If we take 348 away from 357, we end up with 9.
Bring next digit (2) of the dividend behind the 9 and repeat the process: 92 / 87

Let's proceed to step 6:
92 divided by 87 is 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 5941.0
If we take 87 away from 92, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
The number 87 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 5941.0
Deduct 0 from 50 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 8:
The number 87 fits into 500 5 times, leaving a remainder of 65.
Write down 5 as next digit of the result. 
Result so far: 5941.05
The remainder is 65 after subtracting 435 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

On to step 9:
The number 87 fits into 650 7 times, leaving a remainder of 41.
Record the quotient 7 as the next digit in the result. 
Result so far: 5941.057
Subtract 609 from 650 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 10:
87 goes into 410 4 times with a remainder of 62.
The next digit of our result is 4. 
Result so far: 5941.0574
Subtract 348 from 410 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 11:
If we divide 620 by 87, we get 7 and a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 5941.05747
Deduct 609 from 620 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 12:
110 divided by 87 is 1 with a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 5941.057471
If we subtract 87 from 110, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 13:
If we divide 230 by 87, we get 2 and a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 5941.0574712
If we take 174 away from 230, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 14:
If we divide 560 by 87, we get 6 and a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 5941.05747126
The remainder is 38 after subtracting 522 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 5941.05747126 and a remainder of 3.8e-08.