We're dividing 580502 by 2 
We're looking to find how many times 2 goes into 580502.

On to step 1:
If we divide 5 by 2, we get 2 and a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 4 away from 5, we end up with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 2

On to step 2:
2 can be fit into 18 9 times, resulting in a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Subtract 18 from 18 to get 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 2

Advancing to step 3:
If we divide 0 by 2, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 290.0
Subtract 0 from 0 to get 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 2

On to step 4:
When dividing 5 by 2, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2902.0
Deduct 4 from 5 and we're left with 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 2

Moving on to step 5:
When dividing 10 by 2, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 29025.0
Subtract 10 from 10 to get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 2

On to step 6:
2 can be fit into 2 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 290251.0
Subtracting 2 from 2 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 7:
0 divided by 2 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 290251.0
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 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 290251.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.

Our division results in 290251.0 with a remaining 0.0.