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

On to step 1:
5 divided by 18 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 18

On to step 2:
When dividing 50 by 18, we get 2 with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 36 from 50 leaves us with 14.
Grab the next digit (3) from the dividend, add it to 14, then carry on: 143 / 18

Moving on to step 3:
When dividing 143 by 18, we get 7 with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
The remainder is 17 after subtracting 126 from 143.
Grab the next digit (4) from the dividend, add it to 17, then carry on: 174 / 18

Step 4:
18 goes into 174 9 times with a remainder of 12.
The number 9 becomes the next digit in our result. 
Result so far: 279.0
Subtracting 162 from 174 leaves us with 12.
Grab the next digit (9) from the dividend, add it to 12, then carry on: 129 / 18

Moving on to step 5:
129 divided by 18 is 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 2797.0
Subtracting 126 from 129 leaves us with 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 18

Let's proceed to step 6:
18 can be fit into 35 1 times, resulting in a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 27971.0
The remainder is 17 after subtracting 18 from 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
If we divide 170 by 18, we get 9 and a remainder of 8.
Use 9 as the next digit of our solution. 
Result so far: 27971.9
The remainder is 8 after subtracting 162 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
The number 18 fits into 80 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 27971.94
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
When dividing 80 by 18, we get 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 27971.944
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 27971.944 and a remainder of 0.0008.