Let's divide 166033 by 9
The aim is to understand the frequency of 9 in 166033.

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

Advancing to step 2:
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: 1.0
If we subtract 9 from 16, we get 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 9

Moving on to step 3:
When dividing 76 by 9, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 18.0
If we take 72 away from 76, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 9

Advancing to step 4:
If we divide 40 by 9, we get 4 and a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 184.0
If we take 36 away from 40, we end up with 4.
Bring next digit (3) of the dividend behind the 4 and repeat the process: 43 / 9

Let's proceed to step 5:
If we divide 43 by 9, we get 4 and a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 1844.0
Deduct 36 from 43 and we're left with 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 9

Advancing to step 6:
73 divided by 9 is 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 18448.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.

Step 7:
9 goes into 10 1 times with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 18448.1
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.

Advancing 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: 18448.11
If we take 9 away from 10, 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.

The final result is 18448.11 with a remainder of 0.001.