310772 divided by 18 
The aim is to understand the frequency of 18 in 310772.

Step 1:
18 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 18

Advancing to step 2:
The number 18 fits into 31 1 times, leaving 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.
Include the next digit (0) from the dividend after 13, then repeat: 130 / 18

Advancing to step 3:
The number 18 fits into 130 7 times, leaving a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 17.0
Deduct 126 from 130 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 18

Moving on to step 4:
18 goes into 47 2 times with a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 172.0
Deduct 36 from 47 and we're left with 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 18

Going ahead to step 5:
117 divided by 18 is 6 with a remainder of 9.
Write down 6 as next digit of the result. 
Result so far: 1726.0
If we take 108 away from 117, we end up with 9.
Bring next digit (2) of the dividend behind the 9 and repeat the process: 92 / 18

On to step 6:
When dividing 92 by 18, we get 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 17265.0
Subtract 90 from 92 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
The number 18 fits into 20 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 17265.1
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
20 divided by 18 is 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 17265.11
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 17265.11 with a remainder of 0.002.