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

On to step 1:
8 divided by 18 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 18

Advancing to step 2:
18 can be fit into 81 4 times, resulting in a remainder of 9.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 9 after subtracting 72 from 81.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 18

Going ahead to step 3:
When dividing 97 by 18, we get 5 with a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
If we take 90 away from 97, we end up with 7.
Include the next digit (2) from the dividend after 7, then repeat: 72 / 18

On to step 4:
If we divide 72 by 18, we get 4 and a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 454.0
The remainder is 0 after subtracting 72 from 72.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 18

Going ahead to step 5:
18 goes into 6 0 times with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 4540.0
Subtracting 0 from 6 leaves us with 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 18

Step 6:
18 can be fit into 66 3 times, resulting in a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 45403.0
If we subtract 54 from 66, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 7:
The number 18 fits into 120 6 times, leaving a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 45403.6
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.

Advancing to step 8:
120 divided by 18 is 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 45403.66
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.

In conclusion, the division gives 45403.66 with a balance of 0.012.