We look at the division of 508185 by 9 
We're looking to find how many times 9 goes into 508185.

Advancing to step 1:
The number 9 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 9

Step 2:
9 can be fit into 50 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 45 from 50 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 9

Moving on to step 3:
If we divide 58 by 9, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 56.0
Subtracting 54 from 58 leaves us with 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 9

Let's proceed to step 4:
The number 9 fits into 41 4 times, leaving a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 564.0
Deduct 36 from 41 and we're left with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 9

Moving on to step 5:
58 divided by 9 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 5646.0
If we take 54 away from 58, we end up with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 9

Advancing to step 6:
9 goes into 45 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 56465.0
If we subtract 45 from 45, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
9 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 56465.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

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

The final outcome is 56465.0, with a leftover of 0.0.