We look at the division of 361999 by 18 
The aim is to understand the frequency of 18 in 361999.

Step 1:
18 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 18

Let's proceed to step 2:
The number 18 fits into 36 2 times, leaving a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 36 away from 36, we end up with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 18

Step 3:
When dividing 1 by 18, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 20.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 18

Advancing to step 4:
18 can be fit into 19 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 201.0
The remainder is 1 after subtracting 18 from 19.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 18

Let's proceed to step 5:
18 goes into 19 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 2011.0
If we take 18 away from 19, we end up with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 18

Advancing to step 6:
When dividing 19 by 18, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 20111.0
Deduct 18 from 19 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
18 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 20111.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
The number 18 fits into 100 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 20111.05
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
If we divide 100 by 18, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 20111.055
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 20111.055 and a remainder of 0.001.