Let's divide 79852 by 27
The aim is to understand the frequency of 27 in 79852.

On to step 1:
When dividing 7 by 27, we get 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 27

On to step 2:
When dividing 79 by 27, we get 2 with a remainder of 25.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 54 from 79, we get 25.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 27

On to step 3:
The number 27 fits into 258 9 times, leaving a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 29.0
Subtract 243 from 258 to get 15.
Bring next digit (5) of the dividend behind the 15 and repeat the process: 155 / 27

Moving on to step 4:
155 divided by 27 is 5 with a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 295.0
Deduct 135 from 155 and we're left with 20.
Take the next digit (2) from the dividend and append it to 20, then repeat: 202 / 27

Moving on to step 5:
The number 27 fits into 202 7 times, leaving a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 2957.0
Deduct 189 from 202 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 6:
130 divided by 27 is 4 with a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 2957.4
Subtract 108 from 130 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 7:
When dividing 220 by 27, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 2957.48
Subtract 216 from 220 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
The number 27 fits into 40 1 times, leaving a remainder of 13.
The next digit of our result is 1. 
Result so far: 2957.481
If we take 27 away from 40, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 9:
The number 27 fits into 130 4 times, leaving a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 2957.4814
If we take 108 away from 130, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 10:
27 goes into 220 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 2957.48148
If we subtract 216 from 220, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
When dividing 40 by 27, we get 1 with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 2957.481481
The remainder is 13 after subtracting 27 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 12:
27 can be fit into 130 4 times, resulting in a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 2957.4814814
If we take 108 away from 130, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
The number 27 fits into 220 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 2957.48148148
Deduct 216 from 220 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 2957.48148148 and a remainder of 4e-09.