299665 divided by 27 
The aim is to understand the frequency of 27 in 299665.

On to step 1:
If we divide 2 by 27, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 27

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

Let's proceed to step 3:
If we divide 29 by 27, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 27 away from 29, we end up with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 27

Advancing to step 4:
The number 27 fits into 26 0 times, leaving a remainder of 26.
Use 0 as the next digit of our solution. 
Result so far: 110.0
Subtract 0 from 26 to get 26.
Fetch the next digit (6) from the dividend, attach it to 26 and continue: 266 / 27

On to step 5:
27 goes into 266 9 times with a remainder of 23.
The next digit of our result is 9. 
Result so far: 1109.0
If we subtract 243 from 266, we get 23.
Include the next digit (5) from the dividend after 23, then repeat: 235 / 27

Let's proceed to step 6:
If we divide 235 by 27, we get 8 and a remainder of 19.
The number 8 becomes the next digit in our result. 
Result so far: 11098.0
The remainder is 19 after subtracting 216 from 235.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 7:
190 divided by 27 is 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 11098.7
Deduct 189 from 190 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
27 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 11098.7
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
If we divide 100 by 27, we get 3 and a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 11098.703
If we take 81 away from 100, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 10:
The number 27 fits into 190 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 11098.7037
The remainder is 1 after subtracting 189 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 11:
When dividing 10 by 27, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 11098.7037
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 12:
27 goes into 100 3 times with a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 11098.703703
If we take 81 away from 100, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 13:
27 can be fit into 190 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 11098.7037037
If we subtract 189 from 190, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 14:
When dividing 10 by 27, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 11098.7037037
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 11098.7037037, with a leftover of 1e-08.