517493 ÷ 18 
The aim is to understand the frequency of 18 in 517493.

Going ahead to step 1:
If we divide 5 by 18, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 18

Let's proceed to step 2:
If we divide 51 by 18, we get 2 and a remainder of 15.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 36 from 51 to get 15.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 18

Going ahead to step 3:
18 goes into 157 8 times with a remainder of 13.
Put 8 as the next digit of the answer. 
Result so far: 28.0
If we take 144 away from 157, we end up with 13.
Bring next digit (4) of the dividend behind the 13 and repeat the process: 134 / 18

Let's proceed to step 4:
18 goes into 134 7 times with a remainder of 8.
Write down 7 as next digit of the result. 
Result so far: 287.0
Subtracting 126 from 134 leaves us with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 18

On to step 5:
18 can be fit into 89 4 times, resulting in a remainder of 17.
Use 4 as the next digit of our solution. 
Result so far: 2874.0
Subtract 72 from 89 to get 17.
Include the next digit (3) from the dividend after 17, then repeat: 173 / 18

Step 6:
The number 18 fits into 173 9 times, leaving a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 28749.0
Subtract 162 from 173 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
18 can be fit into 110 6 times, resulting in a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 28749.6
If we subtract 108 from 110, 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.

Step 8:
The number 18 fits into 20 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 28749.61
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.

Let's proceed to step 9:
18 can be fit into 20 1 times, resulting in a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 28749.611
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 quotient of the division is 28749.611, and the remainder is 0.0002.