We're dividing 505061 by 18 
We want to divide 505061 by 18.

Going ahead to step 1:
5 divided by 18 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 18

On to step 2:
If we divide 50 by 18, we get 2 and a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 36 away from 50, we end up with 14.
Append the next digit (5) from the dividend to 14 and continue with: 145 / 18

Advancing to step 3:
When dividing 145 by 18, we get 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 28.0
The remainder is 1 after subtracting 144 from 145.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 18

Moving on to step 4:
10 divided by 18 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 280.0
Subtract 0 from 10 to get 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 18

Let's proceed to step 5:
18 goes into 106 5 times with a remainder of 16.
Record the quotient 5 as the next digit in the result. 
Result so far: 2805.0
Deduct 90 from 106 and we're left with 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 18

Let's proceed to step 6:
18 can be fit into 161 8 times, resulting in a remainder of 17.
The next digit of our result is 8. 
Result so far: 28058.0
Subtract 144 from 161 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
If we divide 170 by 18, we get 9 and a remainder of 8.
The next digit of our result is 9. 
Result so far: 28058.9
If we take 162 away from 170, 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.

On to step 8:
The number 18 fits into 80 4 times, leaving a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 28058.94
If we take 72 away from 80, 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.

On to step 9:
18 goes into 80 4 times with a remainder of 8.
The next digit of our result is 4. 
Result so far: 28058.944
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.

The final outcome is 28058.944, with a leftover of 0.0008.