331199 divided by 18 
The aim is to understand the frequency of 18 in 331199.

Going ahead to step 1:
18 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 18

Moving on to step 2:
33 divided by 18 is 1 with a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 15 after subtracting 18 from 33.
Take the next digit (1) from the dividend and append it to 15, then repeat: 151 / 18

Step 3:
The number 18 fits into 151 8 times, leaving a remainder of 7.
The next digit of our result is 8. 
Result so far: 18.0
The remainder is 7 after subtracting 144 from 151.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 18

Advancing to step 4:
18 goes into 71 3 times with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 183.0
If we take 54 away from 71, we end up with 17.
Take the next digit (9) from the dividend and append it to 17, then repeat: 179 / 18

Step 5:
179 divided by 18 is 9 with a remainder of 17.
Write down 9 as next digit of the result. 
Result so far: 1839.0
If we subtract 162 from 179, we get 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 18

Advancing to step 6:
18 can be fit into 179 9 times, resulting in a remainder of 17.
The next digit of our result is 9. 
Result so far: 18399.0
Subtract 162 from 179 to get 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:
18 goes into 170 9 times with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 18399.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.

Going ahead 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: 18399.94
Subtracting 72 from 80 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.

On to step 9:
18 goes into 80 4 times with a remainder of 8.
The next digit of our result is 4. 
Result so far: 18399.944
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.

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