We look at the division of 507187 by 2 
We want to divide 507187 by 2.

Step 1:
If we divide 5 by 2, we get 2 and a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 4 away from 5, we end up with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 2

Advancing to step 2:
10 divided by 2 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 25.0
Subtract 10 from 10 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 2

Step 3:
If we divide 7 by 2, we get 3 and a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 253.0
The remainder is 1 after subtracting 6 from 7.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 2

Let's proceed to step 4:
The number 2 fits into 11 5 times, leaving a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 2535.0
The remainder is 1 after subtracting 10 from 11.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 2

Moving on to step 5:
If we divide 18 by 2, we get 9 and a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 25359.0
If we subtract 18 from 18, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 2

Let's proceed to step 6:
7 divided by 2 is 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 253593.0
Subtracting 6 from 7 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
When dividing 10 by 2, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 253593.5
Deduct 10 from 10 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.

Moving on to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 253593.5
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.

On to step 9:
If we divide 0 by 2, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 253593.5
If we subtract 0 from 0, 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.

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