505139 divided by 5 
Let's see how many times 5 fits into 505139.

On to step 1:
If we divide 5 by 5, we get 1 and a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 5 from 5 and we're left with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 5

On to step 2:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 10.0
Subtract 0 from 0 to get 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 5

Going ahead to step 3:
5 divided by 5 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 101.0
If we subtract 5 from 5, we get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 5

On to step 4:
5 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 1010.0
Subtract 0 from 1 to get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 5

Going ahead to step 5:
13 divided by 5 is 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 10102.0
Subtracting 10 from 13 leaves us with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 5

On to step 6:
5 goes into 39 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 101027.0
Subtracting 35 from 39 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 7:
The number 5 fits into 40 8 times, leaving a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 101027.8
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 101027.8
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.

Advancing to step 9:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 101027.8
Subtracting 0 from 0 leaves us 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 101027.8, with a leftover of 0.0.