Let's divide 298878 by 18
The aim is to understand the frequency of 18 in 298878.

Let's proceed to step 1:
The number 18 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 18

Let's proceed to step 2:
When dividing 29 by 18, we get 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 18 away from 29, we end up with 11.
Bring next digit (8) of the dividend behind the 11 and repeat the process: 118 / 18

Step 3:
When dividing 118 by 18, we get 6 with a remainder of 10.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Deduct 108 from 118 and we're left with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 18

Let's proceed to step 4:
108 divided by 18 is 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 166.0
Subtracting 108 from 108 leaves us with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 18

On to step 5:
18 can be fit into 7 0 times, resulting in a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 1660.0
If we subtract 0 from 7, we get 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 18

Advancing to step 6:
When dividing 78 by 18, we get 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 16604.0
Subtract 72 from 78 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
When dividing 60 by 18, we get 3 with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 16604.3
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
18 goes into 60 3 times with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 16604.33
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

In conclusion, the division gives 16604.33 with a balance of 0.006.