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

Advancing to step 1:
4 divided by 18 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 18

Step 2:
If we divide 47 by 18, we get 2 and a remainder of 11.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 36 from 47 and we're left with 11.
Fetch the next digit (1) from the dividend, attach it to 11 and continue: 111 / 18

On to step 3:
18 can be fit into 111 6 times, resulting in a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Subtract 108 from 111 to get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 18

Step 4:
If we divide 37 by 18, we get 2 and a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 262.0
If we subtract 36 from 37, we get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 18

Step 5:
18 goes into 11 0 times with a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 2620.0
Subtract 0 from 11 to get 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 18

Let's proceed to step 6:
117 divided by 18 is 6 with a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 26206.0
Deduct 108 from 117 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 7:
90 divided by 18 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 26206.5
Deduct 90 from 90 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
The number 18 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 26206.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
18 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 26206.5
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 26206.5 with a balance of 0.0.