We look at the division of 687654 by 27 
The aim is to understand the frequency of 27 in 687654.

Let's proceed to step 1:
6 divided by 27 is 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 27

Step 2:
If we divide 68 by 27, we get 2 and a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 54 from 68 and we're left with 14.
Include the next digit (7) from the dividend after 14, then repeat: 147 / 27

Let's proceed to step 3:
147 divided by 27 is 5 with a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we subtract 135 from 147, we get 12.
Fetch the next digit (6) from the dividend, attach it to 12 and continue: 126 / 27

On to step 4:
When dividing 126 by 27, we get 4 with a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 254.0
Subtracting 108 from 126 leaves us with 18.
Bring next digit (5) of the dividend behind the 18 and repeat the process: 185 / 27

Step 5:
If we divide 185 by 27, we get 6 and a remainder of 23.
The number 6 becomes the next digit in our result. 
Result so far: 2546.0
If we subtract 162 from 185, we get 23.
Take the next digit (4) from the dividend and append it to 23, then repeat: 234 / 27

Moving on to step 6:
If we divide 234 by 27, we get 8 and a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 25468.0
Subtract 216 from 234 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
27 can be fit into 180 6 times, resulting in a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 25468.6
The remainder is 18 after subtracting 162 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 8:
27 goes into 180 6 times with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 25468.66
If we subtract 162 from 180, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 25468.66 and a remainder of 0.018.