267821 ÷ 18 
The aim is to understand the frequency of 18 in 267821.

Going ahead to step 1:
The number 18 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 18

Advancing to step 2:
When dividing 26 by 18, we get 1 with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 18 from 26 to get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 18

Let's proceed to step 3:
When dividing 87 by 18, we get 4 with a remainder of 15.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Subtracting 72 from 87 leaves us with 15.
Grab the next digit (8) from the dividend, add it to 15, then carry on: 158 / 18

Let's proceed to step 4:
If we divide 158 by 18, we get 8 and a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 148.0
Subtracting 144 from 158 leaves us with 14.
Include the next digit (2) from the dividend after 14, then repeat: 142 / 18

Going ahead to step 5:
If we divide 142 by 18, we get 7 and a remainder of 16.
The number 7 becomes the next digit in our result. 
Result so far: 1487.0
If we subtract 126 from 142, we get 16.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 18

Advancing to step 6:
If we divide 161 by 18, we get 8 and a remainder of 17.
Use 8 as the next digit of our solution. 
Result so far: 14878.0
Deduct 144 from 161 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
170 divided by 18 is 9 with a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 14878.9
Subtracting 162 from 170 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
18 goes into 80 4 times with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 14878.94
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
The number 18 fits into 80 4 times, leaving a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 14878.944
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 14878.944, with a leftover of 0.0008.