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

Going ahead to step 1:
3 divided by 27 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 27

On to step 2:
When dividing 39 by 27, we get 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 27 from 39, we get 12.
Fetch the next digit (2) from the dividend, attach it to 12 and continue: 122 / 27

Let's proceed to step 3:
The number 27 fits into 122 4 times, leaving a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we take 108 away from 122, we end up with 14.
Fetch the next digit (1) from the dividend, attach it to 14 and continue: 141 / 27

Going ahead to step 4:
27 goes into 141 5 times with a remainder of 6.
The next digit of our result is 5. 
Result so far: 145.0
The remainder is 6 after subtracting 135 from 141.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 27

Moving on to step 5:
The number 27 fits into 68 2 times, leaving a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 1452.0
Subtract 54 from 68 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 6:
140 divided by 27 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 1452.5
Subtracting 135 from 140 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
If we divide 50 by 27, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1452.51
Subtracting 27 from 50 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.

On to step 8:
The number 27 fits into 230 8 times, leaving a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 1452.518
If we subtract 216 from 230, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 9:
140 divided by 27 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 1452.5185
The remainder is 5 after subtracting 135 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 10:
When dividing 50 by 27, we get 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 1452.51851
Deduct 27 from 50 and we're left 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.

Moving on to step 11:
The number 27 fits into 230 8 times, leaving a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 1452.518518
The remainder is 14 after subtracting 216 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 12:
When dividing 140 by 27, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 1452.5185185
If we take 135 away from 140, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 13:
50 divided by 27 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 1452.51851851
Deduct 27 from 50 and we're left 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.

The final result is 1452.51851851 with a remainder of 2.3e-08.