We're dividing 556584 by 18 
The aim is to understand the frequency of 18 in 556584.

Let's proceed to step 1:
18 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 18

Going ahead to step 2:
55 divided by 18 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 54 from 55 leaves us with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 18

Going ahead to step 3:
The number 18 fits into 16 0 times, leaving a remainder of 16.
The next digit of our result is 0. 
Result so far: 30.0
If we take 0 away from 16, we end up with 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 18

Let's proceed to step 4:
If we divide 165 by 18, we get 9 and a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 309.0
The remainder is 3 after subtracting 162 from 165.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 18

On to step 5:
If we divide 38 by 18, we get 2 and a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 3092.0
Subtract 36 from 38 to get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 18

Step 6:
18 goes into 24 1 times with a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 30921.0
If we subtract 18 from 24, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
When dividing 60 by 18, we get 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 30921.3
The remainder is 6 after subtracting 54 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
The number 18 fits into 60 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 30921.33
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 30921.33 with a remaining 0.006.