We divide 797311 by 2
Let's see how many times 2 fits into 797311.

Going ahead to step 1:
2 can be fit into 7 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 6 from 7, we get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 2

Let's proceed to step 2:
2 goes into 19 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtract 18 from 19 to get 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 2

Moving on to step 3:
When dividing 17 by 2, we get 8 with a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 398.0
Subtracting 16 from 17 leaves us with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 2

On to step 4:
When dividing 13 by 2, we get 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 3986.0
If we take 12 away from 13, we end up with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 2

Going ahead to step 5:
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: 39865.0
If we take 10 away from 11, we end up with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 2

Going ahead to step 6:
When dividing 11 by 2, we get 5 with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 398655.0
Subtracting 10 from 11 leaves us 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.

Advancing to step 7:
The number 2 fits into 10 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 398655.5
Subtract 10 from 10 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:
0 divided by 2 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 398655.5
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.

Advancing to step 9:
2 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 398655.5
If we take 0 away from 0, 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.

The quotient of the division is 398655.5, and the remainder is 0.0.