We're dividing 506856 by 2 
Let's see how many times 2 fits into 506856.

Moving on to step 1:
If we divide 5 by 2, we get 2 and a remainder of 1.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 4 from 5 and we're left with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 2

Going ahead to step 2:
When dividing 10 by 2, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we subtract 10 from 10, we get 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 2

Step 3:
The number 2 fits into 6 3 times, leaving a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 253.0
If we subtract 6 from 6, we get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 2

On to step 4:
The number 2 fits into 8 4 times, leaving a remainder of 0.
The next digit of our result is 4. 
Result so far: 2534.0
Deduct 8 from 8 and we're left with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 2

Advancing to step 5:
2 can be fit into 5 2 times, resulting in a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 25342.0
Subtract 4 from 5 to get 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 2

Moving on to step 6:
The number 2 fits into 16 8 times, leaving a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 253428.0
Deduct 16 from 16 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.

Step 7:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 253428.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.

Moving on to step 8:
2 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 253428.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 outcome is 253428.0, with a leftover of 0.0.