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

On to step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 18

Advancing to step 2:
When dividing 31 by 18, we get 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 18 from 31 and we're left with 13.
Take the next digit (9) from the dividend and append it to 13, then repeat: 139 / 18

Going ahead to step 3:
If we divide 139 by 18, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 17.0
Deduct 126 from 139 and we're left with 13.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 18

Step 4:
If we divide 137 by 18, we get 7 and a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 177.0
Deduct 126 from 137 and we're left with 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 18

On to step 5:
When dividing 117 by 18, we get 6 with a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 1776.0
If we subtract 108 from 117, we get 9.
Grab the next digit (3) from the dividend, add it to 9, then carry on: 93 / 18

On to step 6:
The number 18 fits into 93 5 times, leaving a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 17765.0
If we subtract 90 from 93, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
The number 18 fits into 30 1 times, leaving a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 17765.1
Deduct 18 from 30 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 8:
18 can be fit into 120 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 17765.16
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
If we divide 120 by 18, we get 6 and a remainder of 12.
The next digit of our result is 6. 
Result so far: 17765.166
Subtracting 108 from 120 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 17765.166 with a remainder of 0.0012.