We divide 578542 by 2
We're looking to find how many times 2 goes into 578542.

Step 1:
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: 2.0
If we subtract 4 from 5, we get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 2

Step 2:
2 can be fit into 17 8 times, resulting in a remainder of 1.
The next digit of our result is 8. 
Result so far: 28.0
The remainder is 1 after subtracting 16 from 17.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 2

Moving on to step 3:
18 divided by 2 is 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 289.0
If we take 18 away from 18, we end up with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 2

Let's proceed to step 4:
The number 2 fits into 5 2 times, leaving a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 2892.0
Deduct 4 from 5 and we're left with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 2

Let's proceed to step 5:
If we divide 14 by 2, we get 7 and a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 28927.0
Subtract 14 from 14 to get 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 2

Going ahead to step 6:
The number 2 fits into 2 1 times, leaving a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 289271.0
If we subtract 2 from 2, 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.

Let's proceed to step 7:
0 divided by 2 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 289271.0
Subtract 0 from 0 to 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.

Let's proceed to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 289271.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.

The final result is 289271.0 with a remainder of 0.0.