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

Let's proceed to step 1:
When dividing 3 by 18, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 18

On to step 2:
When dividing 37 by 18, we get 2 with a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 36 away from 37, we end up with 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 18

Advancing to step 3:
When dividing 10 by 18, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 20.0
Subtracting 0 from 10 leaves us with 10.
Grab the next digit (6) from the dividend, add it to 10, then carry on: 106 / 18

Advancing to step 4:
When dividing 106 by 18, we get 5 with a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 205.0
The remainder is 16 after subtracting 90 from 106.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 18

Moving on to step 5:
When dividing 168 by 18, we get 9 with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 2059.0
Deduct 162 from 168 and we're left with 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 18

Step 6:
The number 18 fits into 69 3 times, leaving a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 20593.0
Subtract 54 from 69 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
If we divide 150 by 18, we get 8 and a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 20593.8
Subtract 144 from 150 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
The number 18 fits into 60 3 times, leaving a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 20593.83
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 9:
60 divided by 18 is 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 20593.833
If we take 54 away from 60, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 20593.833 with a remainder of 0.0006.