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

Going ahead to step 1:
If we divide 5 by 18, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 18

On to step 2:
55 divided by 18 is 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 1 after subtracting 54 from 55.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 18

Going ahead to step 3:
When dividing 17 by 18, we get 0 with a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 30.0
The remainder is 17 after subtracting 0 from 17.
Append the next digit (0) from the dividend to 17 and continue with: 170 / 18

Step 4:
170 divided by 18 is 9 with a remainder of 8.
The next digit of our result is 9. 
Result so far: 309.0
The remainder is 8 after subtracting 162 from 170.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 18

Going ahead to step 5:
87 divided by 18 is 4 with a remainder of 15.
The next digit of our result is 4. 
Result so far: 3094.0
The remainder is 15 after subtracting 72 from 87.
Bring next digit (6) of the dividend behind the 15 and repeat the process: 156 / 18

Moving on to step 6:
156 divided by 18 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 30948.0
The remainder is 12 after subtracting 144 from 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
18 can be fit into 120 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 30948.6
The remainder is 12 after subtracting 108 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
18 goes into 120 6 times with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 30948.66
If we take 108 away from 120, 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.

The quotient of the division is 30948.66, and the remainder is 0.012.