Let's divide 797502 by 4
We want to divide 797502 by 4.

Let's proceed to step 1:
4 can be fit into 7 1 times, resulting in a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 4 away from 7, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 4

Moving on to step 2:
39 divided by 4 is 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 36 from 39 to get 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 4

Moving on to step 3:
If we divide 37 by 4, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 199.0
Deduct 36 from 37 and we're left with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 4

Let's proceed to step 4:
15 divided by 4 is 3 with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 1993.0
Subtract 12 from 15 to get 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 4

Moving on to step 5:
When dividing 30 by 4, we get 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 19937.0
The remainder is 2 after subtracting 28 from 30.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 4

Going ahead to step 6:
4 can be fit into 22 5 times, resulting in a remainder of 2.
The next digit of our result is 5. 
Result so far: 199375.0
If we take 20 away from 22, we end up 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.

On to step 7:
4 goes into 20 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 199375.5
If we subtract 20 from 20, 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.

Moving on to step 8:
4 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 199375.5
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.

Advancing to step 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 199375.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.

The final outcome is 199375.5, with a leftover of 0.0.