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

Step 1:
3 divided by 18 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 18

Advancing to step 2:
If we divide 31 by 18, we get 1 and a remainder of 13.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 18 from 31 to get 13.
Take the next digit (3) from the dividend and append it to 13, then repeat: 133 / 18

Going ahead to step 3:
133 divided by 18 is 7 with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
If we subtract 126 from 133, we get 7.
Take the next digit (6) from the dividend and append it to 7, then repeat: 76 / 18

On to step 4:
18 can be fit into 76 4 times, resulting in a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 174.0
If we subtract 72 from 76, we get 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 18

Step 5:
When dividing 49 by 18, we get 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 1742.0
Subtracting 36 from 49 leaves us with 13.
Include the next digit (0) from the dividend after 13, then repeat: 130 / 18

Let's proceed to step 6:
If we divide 130 by 18, we get 7 and a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 17427.0
If we subtract 126 from 130, 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.

On to step 7:
18 can be fit into 40 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 17427.2
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.

Advancing to step 8:
If we divide 40 by 18, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 17427.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.

The final result is 17427.22 with a remainder of 0.004.