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

Moving on to step 1:
5 divided by 87 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 87

Moving on to step 2:
87 can be fit into 54 0 times, resulting in a remainder of 54.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 54 after subtracting 0 from 54.
Take the next digit (0) from the dividend and append it to 54, then repeat: 540 / 87

Going ahead to step 3:
When dividing 540 by 87, we get 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 522 away from 540, we end up with 18.
Append the next digit (4) from the dividend to 18 and continue with: 184 / 87

Moving on to step 4:
The number 87 fits into 184 2 times, leaving a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 62.0
Subtracting 174 from 184 leaves us with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 87

On to step 5:
If we divide 108 by 87, we get 1 and a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 621.0
If we take 87 away from 108, we end up with 21.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 87

Step 6:
When dividing 218 by 87, we get 2 with a remainder of 44.
Use 2 as the next digit of our solution. 
Result so far: 6212.0
If we subtract 174 from 218, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 7:
If we divide 440 by 87, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 6212.5
The remainder is 5 after subtracting 435 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
87 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 6212.5
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 9:
If we divide 500 by 87, we get 5 and a remainder of 65.
The next digit of our result is 5. 
Result so far: 6212.505
Subtracting 435 from 500 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Moving on to step 10:
87 goes into 650 7 times with a remainder of 41.
The number 7 becomes the next digit in our result. 
Result so far: 6212.5057
Deduct 609 from 650 and we're left with 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 11:
410 divided by 87 is 4 with a remainder of 62.
The next digit of our result is 4. 
Result so far: 6212.50574
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 12:
The number 87 fits into 620 7 times, leaving a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 6212.505747
Subtract 609 from 620 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 13:
If we divide 110 by 87, we get 1 and a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 6212.5057471
Subtracting 87 from 110 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 14:
When dividing 230 by 87, we get 2 with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 6212.50574712
If we subtract 174 from 230, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

The final outcome is 6212.50574712, with a leftover of 5.6e-08.