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

Moving on to step 1:
3 divided by 18 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 18

Advancing to step 2:
If we divide 34 by 18, we get 1 and a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 16 after subtracting 18 from 34.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 18

Advancing to step 3:
If we divide 164 by 18, we get 9 and a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtract 162 from 164 to get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 18

Step 4:
18 goes into 22 1 times with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 191.0
Subtracting 18 from 22 leaves us with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 18

Moving on to step 5:
18 goes into 42 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 1912.0
The remainder is 6 after subtracting 36 from 42.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 18

On to step 6:
18 goes into 67 3 times with a remainder of 13.
Put 3 as the next digit of the answer. 
Result so far: 19123.0
If we subtract 54 from 67, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
18 goes into 130 7 times with a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 19123.7
The remainder is 4 after subtracting 126 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
40 divided by 18 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 19123.72
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 18 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 19123.722
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 19123.722 with a remainder of 0.0004.