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

Step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 18

On to step 2:
58 divided by 18 is 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 4 after subtracting 54 from 58.
Bring next digit (4) of the dividend behind the 4 and repeat the process: 44 / 18

Going ahead to step 3:
18 can be fit into 44 2 times, resulting in a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 32.0
If we subtract 36 from 44, we get 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 18

Moving on to step 4:
18 goes into 87 4 times with a remainder of 15.
Use 4 as the next digit of our solution. 
Result so far: 324.0
Subtract 72 from 87 to get 15.
Grab the next digit (4) from the dividend, add it to 15, then carry on: 154 / 18

Let's proceed to step 5:
When dividing 154 by 18, we get 8 with a remainder of 10.
The number 8 becomes the next digit in our result. 
Result so far: 3248.0
Deduct 144 from 154 and we're left with 10.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 18

On to step 6:
If we divide 103 by 18, we get 5 and a remainder of 13.
The next digit of our result is 5. 
Result so far: 32485.0
If we subtract 90 from 103, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
130 divided by 18 is 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 32485.7
If we subtract 126 from 130, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 32485.72
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
The number 18 fits into 40 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 32485.722
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 32485.722 with a remaining 0.0004.