We divide 165396 by 27
The aim is to understand the frequency of 27 in 165396.

Moving on to step 1:
27 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 27

Moving on to step 2:
16 divided by 27 is 0 with a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 27

Moving on to step 3:
27 goes into 165 6 times with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 162 from 165, we get 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 27

Moving on to step 4:
27 can be fit into 33 1 times, resulting in a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 61.0
The remainder is 6 after subtracting 27 from 33.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 27

On to step 5:
69 divided by 27 is 2 with a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 612.0
Deduct 54 from 69 and we're left with 15.
Bring next digit (6) of the dividend behind the 15 and repeat the process: 156 / 27

On to step 6:
If we divide 156 by 27, we get 5 and a remainder of 21.
Write down 5 as next digit of the result. 
Result so far: 6125.0
If we take 135 away from 156, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 7:
The number 27 fits into 210 7 times, leaving a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 6125.7
If we take 189 away from 210, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 8:
If we divide 210 by 27, we get 7 and a remainder of 21.
The next digit of our result is 7. 
Result so far: 6125.77
Deduct 189 from 210 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 6125.77 with a remainder of 0.021.