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

Going ahead to step 1:
If we divide 9 by 9, we get 1 and a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 9 from 9 leaves us with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 9

Step 2:
When dividing 0 by 9, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 0 and we're left with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 9

Advancing to step 3:
If we divide 5 by 9, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 100.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 9

Advancing to step 4:
When dividing 52 by 9, we get 5 with a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 1005.0
Deduct 45 from 52 and we're left with 7.
Grab the next digit (3) from the dividend, add it to 7, then carry on: 73 / 9

Going ahead to step 5:
73 divided by 9 is 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 10058.0
The remainder is 1 after subtracting 72 from 73.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 9

On to step 6:
If we divide 19 by 9, we get 2 and a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 100582.0
Deduct 18 from 19 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.

Step 7:
The number 9 fits into 10 1 times, leaving a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 100582.1
If we subtract 9 from 10, we get 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:
When dividing 10 by 9, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 100582.11
Subtract 9 from 10 to get 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 quotient of the division is 100582.11, and the remainder is 0.001.