Let's divide 797851 by 4
Let's see how many times 4 fits into 797851.

Going ahead to step 1:
4 goes into 7 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 4 from 7 to get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 4

Advancing to step 2:
The number 4 fits into 39 9 times, leaving a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
If we take 36 away from 39, we end up with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 4

On to step 3:
37 divided by 4 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 199.0
Deduct 36 from 37 and we're left with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Let's proceed to step 4:
When dividing 18 by 4, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 1994.0
If we take 16 away from 18, we end up with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 4

Step 5:
25 divided by 4 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 19946.0
If we take 24 away from 25, we end up with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 4

On to step 6:
If we divide 11 by 4, we get 2 and a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 199462.0
If we subtract 8 from 11, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
The number 4 fits into 30 7 times, leaving a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 199462.7
Subtracting 28 from 30 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 8:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 199462.75
Subtract 20 from 20 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 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 199462.75
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.

Step 10:
If we divide 0 by 4, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 199462.75
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 quotient of the division is 199462.75, and the remainder is 0.0.