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

Advancing to step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 18

Going ahead to step 2:
52 divided by 18 is 2 with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 36 from 52 leaves us with 16.
Bring next digit (4) of the dividend behind the 16 and repeat the process: 164 / 18

Moving on to step 3:
When dividing 164 by 18, we get 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
Subtract 162 from 164 to get 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 18

On to step 4:
18 goes into 22 1 times with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 291.0
If we take 18 away from 22, we end up with 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 18

Moving on to step 5:
43 divided by 18 is 2 with a remainder of 7.
The next digit of our result is 2. 
Result so far: 2912.0
If we subtract 36 from 43, we get 7.
Grab the next digit (0) from the dividend, add it to 7, then carry on: 70 / 18

Going ahead to step 6:
70 divided by 18 is 3 with a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 29123.0
If we take 54 away from 70, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 7:
18 can be fit into 160 8 times, resulting in a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 29123.8
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 8:
If we divide 160 by 18, we get 8 and a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 29123.88
If we subtract 144 from 160, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 29123.88 with a remainder of 0.016.