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

Moving on to step 1:
18 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 18

On to step 2:
18 goes into 99 5 times with a remainder of 9.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 90 from 99 and we're left with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 18

Moving on to step 3:
The number 18 fits into 98 5 times, leaving a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 55.0
The remainder is 8 after subtracting 90 from 98.
Bring next digit (6) of the dividend behind the 8 and repeat the process: 86 / 18

Step 4:
When dividing 86 by 18, we get 4 with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 554.0
The remainder is 14 after subtracting 72 from 86.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 18

Moving on to step 5:
If we divide 148 by 18, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 5548.0
If we take 144 away from 148, we end up with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 18

Advancing to step 6:
The number 18 fits into 45 2 times, leaving a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 55482.0
If we subtract 36 from 45, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
When dividing 90 by 18, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 55482.5
If we subtract 90 from 90, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
If we divide 0 by 18, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 55482.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
If we divide 0 by 18, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 55482.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 55482.5 with a remainder of 0.0.