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

Going ahead to step 1:
18 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 18

On to step 2:
If we divide 36 by 18, we get 2 and a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 36 from 36, we get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 18

Going ahead to step 3:
18 goes into 8 0 times with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 20.0
Subtract 0 from 8 to get 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 18

Step 4:
When dividing 81 by 18, we get 4 with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 204.0
If we subtract 72 from 81, we get 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 18

Advancing to step 5:
94 divided by 18 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 2045.0
Deduct 90 from 94 and we're left with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 18

Going ahead to step 6:
40 divided by 18 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 20452.0
Subtracting 36 from 40 leaves us with 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 7:
If we divide 40 by 18, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 20452.2
The remainder is 4 after subtracting 36 from 40.
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 8:
The number 18 fits into 40 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 20452.22
If we subtract 36 from 40, we 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.

In conclusion, the division gives 20452.22 with a balance of 0.004.