We divide 531188 by 9
The aim is to understand the frequency of 9 in 531188.

Let's proceed to step 1:
5 divided by 9 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (3) from the dividend to 5 and continue with: 53 / 9

Step 2:
9 goes into 53 5 times with a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
The remainder is 8 after subtracting 45 from 53.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 9

Going ahead to step 3:
The number 9 fits into 81 9 times, leaving a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 59.0
If we subtract 81 from 81, we get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 9

Step 4:
9 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 590.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 9

On to step 5:
When dividing 18 by 9, we get 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 5902.0
Subtract 18 from 18 to get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 9

Going ahead to step 6:
When dividing 8 by 9, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 59020.0
If we take 0 away from 8, 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.

Going ahead to step 7:
9 goes into 80 8 times with a remainder of 8.
The next digit of our result is 8. 
Result so far: 59020.8
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
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: 59020.88
Deduct 72 from 80 and we're left 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.

Our division results in 59020.88 with a remaining 0.008.