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

Going ahead to step 1:
5 divided by 9 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 9

Moving on to step 2:
9 can be fit into 50 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtracting 45 from 50 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 9

Step 3:
The number 9 fits into 51 5 times, leaving a remainder of 6.
Record the quotient 5 as the next digit in the result. 
Result so far: 55.0
Subtract 45 from 51 to get 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 9

Advancing to step 4:
61 divided by 9 is 6 with a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 556.0
The remainder is 7 after subtracting 54 from 61.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 9

Going ahead to step 5:
9 can be fit into 75 8 times, resulting in a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 5568.0
The remainder is 3 after subtracting 72 from 75.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 9

On to step 6:
The number 9 fits into 32 3 times, leaving a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 55683.0
Deduct 27 from 32 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
If we divide 50 by 9, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 55683.5
Deduct 45 from 50 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
If we divide 50 by 9, we get 5 and a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 55683.55
Subtracting 45 from 50 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 55683.55, and the remainder is 0.005.