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

Going ahead to step 1:
The number 9 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 9

Advancing to step 2:
9 can be fit into 87 9 times, resulting in a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 81 from 87 and we're left with 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 9

Advancing to step 3:
9 can be fit into 67 7 times, resulting in a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 97.0
Deduct 63 from 67 and we're left with 4.
Bring next digit (6) of the dividend behind the 4 and repeat the process: 46 / 9

Going ahead to step 4:
9 goes into 46 5 times with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 975.0
If we subtract 45 from 46, we get 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 9

Going ahead to step 5:
The number 9 fits into 16 1 times, leaving a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 9751.0
Subtracting 9 from 16 leaves us with 7.
Fetch the next digit (3) from the dividend, attach it to 7 and continue: 73 / 9

On to step 6:
When dividing 73 by 9, we get 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 97518.0
If we take 72 away from 73, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
If we divide 10 by 9, we get 1 and a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 97518.1
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
9 can be fit into 10 1 times, resulting in a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 97518.11
The remainder is 1 after subtracting 9 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The quotient of the division is 97518.11, and the remainder is 0.001.