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

On to step 1:
7 divided by 9 is 0 with 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

Going ahead to step 2:
When dividing 77 by 9, we get 8 with a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we take 72 away from 77, we end up with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 9

Advancing to step 3:
9 goes into 56 6 times with a remainder of 2.
The next digit of our result is 6. 
Result so far: 86.0
Subtracting 54 from 56 leaves us with 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 9

On to step 4:
9 can be fit into 29 3 times, resulting in a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 863.0
Subtract 27 from 29 to get 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 9

On to step 5:
If we divide 23 by 9, we get 2 and a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 8632.0
If we take 18 away from 23, we end up with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 9

Going ahead to step 6:
When dividing 58 by 9, we get 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 86326.0
The remainder is 4 after subtracting 54 from 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
9 can be fit into 40 4 times, resulting in a remainder of 4.
The next digit of our result is 4. 
Result so far: 86326.4
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
If we divide 40 by 9, we get 4 and a remainder of 4.
The next digit of our result is 4. 
Result so far: 86326.44
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 86326.44, and the remainder is 0.004.