We're dividing 299271 by 18 
The aim is to understand the frequency of 18 in 299271.

Let's proceed to step 1:
2 divided by 18 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
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 / 18

Moving on to step 2:
When dividing 29 by 18, we get 1 with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 18 from 29, we get 11.
Bring next digit (9) of the dividend behind the 11 and repeat the process: 119 / 18

Advancing to step 3:
The number 18 fits into 119 6 times, leaving a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 16.0
If we take 108 away from 119, we end up with 11.
Fetch the next digit (2) from the dividend, attach it to 11 and continue: 112 / 18

Let's proceed to step 4:
18 can be fit into 112 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 166.0
If we take 108 away from 112, we end up with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 18

Advancing to step 5:
47 divided by 18 is 2 with a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 1662.0
If we take 36 away from 47, we end up with 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 18

Let's proceed to step 6:
18 goes into 111 6 times with a remainder of 3.
The next digit of our result is 6. 
Result so far: 16626.0
If we subtract 108 from 111, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
The number 18 fits into 30 1 times, leaving a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 16626.1
Subtract 18 from 30 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 16626.16
If we take 108 away from 120, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 9:
18 can be fit into 120 6 times, resulting in a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 16626.166
Subtracting 108 from 120 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

In conclusion, the division gives 16626.166 with a balance of 0.0012.