We're dividing 523454 by 87 
The aim is to understand the frequency of 87 in 523454.

Moving on to step 1:
5 divided by 87 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 87

Going ahead to step 2:
87 goes into 52 0 times with a remainder of 52.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 52 after subtracting 0 from 52.
Bring next digit (3) of the dividend behind the 52 and repeat the process: 523 / 87

On to step 3:
If we divide 523 by 87, we get 6 and a remainder of 1.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 1 after subtracting 522 from 523.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 87

On to step 4:
87 can be fit into 14 0 times, resulting in a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 60.0
The remainder is 14 after subtracting 0 from 14.
Bring next digit (5) of the dividend behind the 14 and repeat the process: 145 / 87

Step 5:
The number 87 fits into 145 1 times, leaving a remainder of 58.
Put 1 as the next digit of the answer. 
Result so far: 601.0
Subtracting 87 from 145 leaves us with 58.
Take the next digit (4) from the dividend and append it to 58, then repeat: 584 / 87

Moving on to step 6:
87 goes into 584 6 times with a remainder of 62.
Write down 6 as next digit of the result. 
Result so far: 6016.0
Deduct 522 from 584 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 7:
620 divided by 87 is 7 with a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 6016.7
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 8:
87 goes into 110 1 times with a remainder of 23.
The next digit of our result is 1. 
Result so far: 6016.71
Subtract 87 from 110 to 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.

Step 9:
87 goes into 230 2 times with a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 6016.712
The remainder is 56 after subtracting 174 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 10:
87 goes into 560 6 times with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 6016.7126
If we subtract 522 from 560, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 11:
When dividing 380 by 87, we get 4 with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 6016.71264
The remainder is 32 after subtracting 348 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 12:
320 divided by 87 is 3 with a remainder of 59.
The number 3 becomes the next digit in our result. 
Result so far: 6016.712643
The remainder is 59 after subtracting 261 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Step 13:
87 goes into 590 6 times with a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 6016.7126436
If we subtract 522 from 590, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 14:
When dividing 680 by 87, we get 7 with a remainder of 71.
The number 7 becomes the next digit in our result. 
Result so far: 6016.71264367
If we take 609 away from 680, we end up with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

The final outcome is 6016.71264367, with a leftover of 7.1e-08.