We look at the division of 332913 by 9 
The aim is to understand the frequency of 9 in 332913.

Step 1:
9 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 9

Advancing to step 2:
The number 9 fits into 33 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 27 from 33 and we're left with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 9

On to step 3:
9 goes into 62 6 times with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
If we subtract 54 from 62, we get 8.
Bring next digit (9) of the dividend behind the 8 and repeat the process: 89 / 9

On to step 4:
The number 9 fits into 89 9 times, leaving a remainder of 8.
The number 9 becomes the next digit in our result. 
Result so far: 369.0
Subtract 81 from 89 to get 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 9

Moving on to step 5:
When dividing 81 by 9, we get 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 3699.0
If we subtract 81 from 81, we get 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 9

Advancing to step 6:
When dividing 3 by 9, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 36990.0
Subtract 0 from 3 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
The number 9 fits into 30 3 times, leaving a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 36990.3
Deduct 27 from 30 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 8:
When dividing 30 by 9, we get 3 with a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 36990.33
Subtract 27 from 30 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The quotient of the division is 36990.33, and the remainder is 0.003.