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

Moving on to step 1:
5 divided by 18 is 0 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.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 18

Advancing to step 2:
18 can be fit into 56 3 times, resulting in a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 54 away from 56, we end up with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 18

Moving on to step 3:
The number 18 fits into 24 1 times, leaving a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 31.0
Subtract 18 from 24 to get 6.
Fetch the next digit (0) from the dividend, attach it to 6 and continue: 60 / 18

Step 4:
60 divided by 18 is 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 313.0
Deduct 54 from 60 and we're left with 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 18

Moving on to step 5:
18 can be fit into 68 3 times, resulting in a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 3133.0
Subtract 54 from 68 to get 14.
Bring next digit (8) of the dividend behind the 14 and repeat the process: 148 / 18

Moving on to step 6:
18 goes into 148 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 31338.0
The remainder is 4 after subtracting 144 from 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
18 can be fit into 40 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 31338.2
Deduct 36 from 40 and we're left 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.

Let's proceed to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 31338.22
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.

The quotient of the division is 31338.22, and the remainder is 0.004.