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

Let's proceed to step 1:
9 divided by 9 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 9 from 9 and we're left with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 9

Advancing to step 2:
When dividing 6 by 9, we get 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 9

Advancing to step 3:
If we divide 65 by 9, we get 7 and a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 107.0
Subtracting 63 from 65 leaves us with 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 9

Moving on to step 4:
9 can be fit into 28 3 times, resulting in a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 1073.0
If we take 27 away from 28, we end up with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 9

Moving on to step 5:
9 can be fit into 18 2 times, resulting in a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 10732.0
If we take 18 away from 18, we end up with 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 9

Moving on to step 6:
9 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 107320.0
If we subtract 0 from 1, we 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 7:
The number 9 fits into 10 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 107320.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.

Let's proceed to step 8:
10 divided by 9 is 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 107320.11
Deduct 9 from 10 and we're left 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.

After the division, we end up with 107320.11 and a remainder of 0.001.