165230 ÷ 9 
The aim is to understand the frequency of 9 in 165230.

Going ahead to step 1:
9 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 9

Step 2:
16 divided by 9 is 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 9 from 16 to get 7.
Grab the next digit (5) from the dividend, add it to 7, then carry on: 75 / 9

On to step 3:
The number 9 fits into 75 8 times, leaving a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtracting 72 from 75 leaves us with 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 9

Let's proceed to step 4:
When dividing 32 by 9, we get 3 with a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 183.0
Subtract 27 from 32 to get 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 9

Let's proceed to step 5:
When dividing 53 by 9, we get 5 with a remainder of 8.
The next digit of our result is 5. 
Result so far: 1835.0
Deduct 45 from 53 and we're left with 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 9

Advancing to step 6:
When dividing 80 by 9, we get 8 with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 18358.0
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
9 can be fit into 80 8 times, resulting in a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 18358.8
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
If we divide 80 by 9, we get 8 and a remainder of 8.
The next digit of our result is 8. 
Result so far: 18358.88
Subtracting 72 from 80 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 18358.88 and a remainder of 0.008.