We divide 31750170 by 18
The aim is to understand the frequency of 18 in 31750170.

Step 1:
The number 18 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 18

Going ahead to step 2:
31 divided by 18 is 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.
Fetch the next digit (7) from the dividend, attach it to 13 and continue: 137 / 18

Going ahead to step 3:
The number 18 fits into 137 7 times, leaving a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 126 from 137 to get 11.
Include the next digit (5) from the dividend after 11, then repeat: 115 / 18

Let's proceed to step 4:
The number 18 fits into 115 6 times, leaving a remainder of 7.
The next digit of our result is 6. 
Result so far: 176.0
If we subtract 108 from 115, we get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 18

Step 5:
70 divided by 18 is 3 with a remainder of 16.
Use 3 as the next digit of our solution. 
Result so far: 1763.0
If we subtract 54 from 70, we get 16.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 18

Advancing to step 6:
18 can be fit into 161 8 times, resulting in a remainder of 17.
The next digit of our result is 8. 
Result so far: 17638.0
Deduct 144 from 161 and we're left with 17.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 18

On to step 7:
If we divide 177 by 18, we get 9 and a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 176389.0
If we take 162 away from 177, we end up with 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 18

Advancing to step 8:
18 can be fit into 150 8 times, resulting in a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 1763898.0
If we take 144 away from 150, 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.

Going ahead to step 9:
18 can be fit into 60 3 times, resulting in a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1763898.3
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.

On to step 10:
If we divide 60 by 18, we get 3 and a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1763898.33
Subtract 54 from 60 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.

Our division results in 1763898.33 with a remaining 0.006.