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

Advancing to step 1:
5 divided by 2 is 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 4 away from 5, we end up with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 2

Let's proceed to step 2:
2 can be fit into 11 5 times, resulting in a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtracting 10 from 11 leaves us with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 2

Let's proceed to step 3:
2 goes into 15 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 257.0
The remainder is 1 after subtracting 14 from 15.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 2

Going ahead to step 4:
The number 2 fits into 11 5 times, leaving a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 2575.0
If we subtract 10 from 11, we get 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 2

Going ahead to step 5:
If we divide 15 by 2, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 25757.0
Subtract 14 from 15 to get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

Let's proceed to step 6:
2 can be fit into 18 9 times, resulting in a remainder of 0.
The next digit of our result is 9. 
Result so far: 257579.0
If we take 18 away from 18, we end up 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 7:
2 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 257579.0
The remainder is 0 after subtracting 0 from 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:
When dividing 0 by 2, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 257579.0
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.

After the division, we end up with 257579.0 and a remainder of 0.0.