We look at the division of 501512 by 9 
We want to figure out the number of times 501512 can be divided by 9.

On to step 1:
If we divide 5 by 9, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 9

Let's proceed to step 2:
The number 9 fits into 50 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 45 from 50, we get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 9

Advancing to step 3:
9 goes into 51 5 times with a remainder of 6.
Use 5 as the next digit of our solution. 
Result so far: 55.0
If we take 45 away from 51, we end up with 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 9

Step 4:
The number 9 fits into 65 7 times, leaving a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 557.0
Deduct 63 from 65 and we're left with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 9

Going ahead to step 5:
If we divide 21 by 9, we get 2 and a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 5572.0
If we take 18 away from 21, we end up with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 9

Moving on to step 6:
If we divide 32 by 9, we get 3 and a remainder of 5.
The next digit of our result is 3. 
Result so far: 55723.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.

On to step 7:
9 goes into 50 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 55723.5
The remainder is 5 after subtracting 45 from 50.
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.
The next digit of our result is 5. 
Result so far: 55723.55
If we subtract 45 from 50, we get 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 final outcome is 55723.55, with a leftover of 0.005.