We look at the division of 534999 by 18 
The aim is to understand the frequency of 18 in 534999.

Step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 18

On to step 2:
The number 18 fits into 53 2 times, leaving a remainder of 17.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 36 from 53, we get 17.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 18

Advancing to step 3:
18 can be fit into 174 9 times, resulting in a remainder of 12.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
The remainder is 12 after subtracting 162 from 174.
Include the next digit (9) from the dividend after 12, then repeat: 129 / 18

Advancing to step 4:
18 can be fit into 129 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 297.0
If we take 126 away from 129, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 18

On to step 5:
The number 18 fits into 39 2 times, leaving a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 2972.0
Deduct 36 from 39 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 18

Step 6:
39 divided by 18 is 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 29722.0
If we take 36 away from 39, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
18 goes into 30 1 times with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 29722.1
If we take 18 away from 30, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 8:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 29722.16
Deduct 108 from 120 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
18 goes into 120 6 times with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 29722.166
Subtract 108 from 120 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 29722.166, and the remainder is 0.0012.