We divide 771585 by 9
The aim is to understand the frequency of 9 in 771585.

Advancing to step 1:
The number 9 fits into 7 0 times, leaving a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 9

On to step 2:
The number 9 fits into 77 8 times, leaving a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 72 from 77 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 9

Advancing to step 3:
If we divide 51 by 9, we get 5 and a remainder of 6.
Record the quotient 5 as the next digit in the result. 
Result so far: 85.0
Subtracting 45 from 51 leaves us with 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 9

Advancing to step 4:
65 divided by 9 is 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 857.0
Subtracting 63 from 65 leaves us with 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 9

On to step 5:
28 divided by 9 is 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 8573.0
Deduct 27 from 28 and we're left with 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 9

Let's proceed to step 6:
When dividing 15 by 9, we get 1 with a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 85731.0
If we take 9 away from 15, 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.

Let's proceed to step 7:
The number 9 fits into 60 6 times, leaving a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 85731.6
If we subtract 54 from 60, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
When dividing 60 by 9, we get 6 with a remainder of 6.
The next digit of our result is 6. 
Result so far: 85731.66
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.

The quotient of the division is 85731.66, and the remainder is 0.006.