Let's divide 862765 by 18
The aim is to understand the frequency of 18 in 862765.

Moving on to step 1:
8 divided by 18 is 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 18

Step 2:
18 can be fit into 86 4 times, resulting in a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 72 from 86 leaves us with 14.
Bring next digit (2) of the dividend behind the 14 and repeat the process: 142 / 18

Moving on to step 3:
The number 18 fits into 142 7 times, leaving a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 47.0
Subtracting 126 from 142 leaves us with 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 18

Step 4:
When dividing 167 by 18, we get 9 with a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 479.0
The remainder is 5 after subtracting 162 from 167.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 18

Advancing to step 5:
18 goes into 56 3 times with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 4793.0
Subtract 54 from 56 to get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 18

Let's proceed to step 6:
When dividing 25 by 18, we get 1 with a remainder of 7.
The next digit of our result is 1. 
Result so far: 47931.0
Subtracting 18 from 25 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
18 can be fit into 70 3 times, resulting in a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 47931.3
Subtract 54 from 70 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
When dividing 160 by 18, we get 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 47931.38
Subtracting 144 from 160 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 9:
18 goes into 160 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 47931.388
If we take 144 away from 160, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 47931.388 with a balance of 0.0016.