We divide 267998 by 18
The aim is to understand the frequency of 18 in 267998.

Advancing to step 1:
2 divided by 18 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 18

On to step 2:
18 can be fit into 26 1 times, resulting in a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 18 from 26 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 18

On to step 3:
If we divide 87 by 18, we get 4 and a remainder of 15.
The next digit of our result is 4. 
Result so far: 14.0
The remainder is 15 after subtracting 72 from 87.
Take the next digit (9) from the dividend and append it to 15, then repeat: 159 / 18

Going ahead to step 4:
18 goes into 159 8 times with a remainder of 15.
Record the quotient 8 as the next digit in the result. 
Result so far: 148.0
The remainder is 15 after subtracting 144 from 159.
Grab the next digit (9) from the dividend, add it to 15, then carry on: 159 / 18

Advancing to step 5:
When dividing 159 by 18, we get 8 with a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 1488.0
Subtracting 144 from 159 leaves us with 15.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 18

Step 6:
If we divide 158 by 18, we get 8 and a remainder of 14.
The next digit of our result is 8. 
Result so far: 14888.0
If we take 144 away from 158, we end up with 14.
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 7:
18 goes into 140 7 times with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 14888.7
The remainder is 14 after subtracting 126 from 140.
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 8:
When dividing 140 by 18, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 14888.77
If we take 126 away from 140, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 14888.77 and a remainder of 0.014.