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

Going ahead to step 1:
If we divide 8 by 18, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 18

On to step 2:
18 can be fit into 86 4 times, resulting in a remainder of 14.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 14 after subtracting 72 from 86.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 18

Going ahead to step 3:
The number 18 fits into 148 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 48.0
The remainder is 4 after subtracting 144 from 148.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 18

Advancing to step 4:
18 can be fit into 40 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 482.0
Subtracting 36 from 40 leaves us with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 18

Let's proceed to step 5:
18 goes into 45 2 times with a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 4822.0
If we subtract 36 from 45, we get 9.
Append the next digit (6) from the dividend to 9 and continue with: 96 / 18

Advancing to step 6:
18 goes into 96 5 times with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 48225.0
If we take 90 away from 96, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
When dividing 60 by 18, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 48225.3
Subtracting 54 from 60 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
When dividing 60 by 18, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 48225.33
Deduct 54 from 60 and we're left with 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 48225.33 with a remaining 0.006.