Let's divide 511223 by 2
We want to figure out the number of times 511223 can be divided by 2.

Going ahead to step 1:
2 can be fit into 5 2 times, resulting in a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 4 from 5 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

Going ahead to step 2:
If we divide 11 by 2, we get 5 and a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Subtract 10 from 11 to get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 2

Step 3:
The number 2 fits into 11 5 times, leaving a remainder of 1.
The next digit of our result is 5. 
Result so far: 255.0
Subtracting 10 from 11 leaves us with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 2

On to step 4:
When dividing 12 by 2, we get 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 2556.0
Subtracting 12 from 12 leaves us with 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 2

Going ahead to step 5:
The number 2 fits into 2 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 25561.0
Subtract 2 from 2 to get 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 2

Step 6:
3 divided by 2 is 1 with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 255611.0
If we take 2 away from 3, we end up 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.

On to step 7:
2 can be fit into 10 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 255611.5
Subtracting 10 from 10 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:
The number 2 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 255611.5
Deduct 0 from 0 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.

Advancing to step 9:
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: 255611.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.

Our division results in 255611.5 with a remaining 0.0.