85786 divided by 9 
The aim is to understand the frequency of 9 in 85786.

Step 1:
When dividing 8 by 9, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 9

Let's proceed to step 2:
9 goes into 85 9 times with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Deduct 81 from 85 and we're left with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 9

Step 3:
9 goes into 47 5 times with a remainder of 2.
The next digit of our result is 5. 
Result so far: 95.0
Subtracting 45 from 47 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 9

Going ahead to step 4:
28 divided by 9 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 953.0
If we subtract 27 from 28, we get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 9

Advancing to step 5:
9 can be fit into 16 1 times, resulting in a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 9531.0
If we take 9 away from 16, we end up 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.

Going ahead to step 6:
70 divided by 9 is 7 with a remainder of 7.
The next digit of our result is 7. 
Result so far: 9531.7
Deduct 63 from 70 and we're left 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:
70 divided by 9 is 7 with a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 9531.77
If we take 63 away from 70, we end up 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.

The quotient of the division is 9531.77, and the remainder is 0.007.