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

Going ahead to step 1:
The number 9 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 9

Step 2:
If we divide 58 by 9, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 4 after subtracting 54 from 58.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 9

Let's proceed to step 3:
42 divided by 9 is 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 64.0
The remainder is 6 after subtracting 36 from 42.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 9

Moving on to step 4:
61 divided by 9 is 6 with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 646.0
Subtract 54 from 61 to get 7.
Take the next digit (4) from the dividend and append it to 7, then repeat: 74 / 9

Step 5:
9 can be fit into 74 8 times, resulting in a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 6468.0
If we take 72 away from 74, we end up with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 9

Moving on to step 6:
When dividing 29 by 9, we get 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 64683.0
If we subtract 27 from 29, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
The number 9 fits into 20 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 64683.2
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
20 divided by 9 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 64683.22
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 64683.22 with a balance of 0.002.