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

Step 1:
18 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 18

Step 2:
If we divide 34 by 18, we get 1 and a remainder of 16.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 16 after subtracting 18 from 34.
Include the next digit (9) from the dividend after 16, then repeat: 169 / 18

Advancing to step 3:
169 divided by 18 is 9 with a remainder of 7.
The next digit of our result is 9. 
Result so far: 19.0
Deduct 162 from 169 and we're left with 7.
Grab the next digit (7) from the dividend, add it to 7, then carry on: 77 / 18

Moving on to step 4:
If we divide 77 by 18, we get 4 and a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 194.0
The remainder is 5 after subtracting 72 from 77.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 18

On to step 5:
18 goes into 59 3 times with a remainder of 5.
The next digit of our result is 3. 
Result so far: 1943.0
The remainder is 5 after subtracting 54 from 59.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 18

Step 6:
50 divided by 18 is 2 with a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 19432.0
If we subtract 36 from 50, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
18 goes into 140 7 times with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 19432.7
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.

Moving on to step 8:
If we divide 140 by 18, we get 7 and a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 19432.77
Deduct 126 from 140 and we're left 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.

The quotient of the division is 19432.77, and the remainder is 0.014.