5111953 divided by 797 
Let's see how many times 797 fits into 5111953.

Going ahead to step 1:
797 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 797

Moving on to step 2:
If we divide 51 by 797, we get 0 and a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Include the next digit (1) from the dividend after 51, then repeat: 511 / 797

Moving on to step 3:
The number 797 fits into 511 0 times, leaving a remainder of 511.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 511 and we're left with 511.
Bring next digit (1) of the dividend behind the 511 and repeat the process: 5111 / 797

Step 4:
797 can be fit into 5111 6 times, resulting in a remainder of 329.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 4782 from 5111 to get 329.
Fetch the next digit (9) from the dividend, attach it to 329 and continue: 3299 / 797

Moving on to step 5:
If we divide 3299 by 797, we get 4 and a remainder of 111.
Record the quotient 4 as the next digit in the result. 
Result so far: 64.0
Subtracting 3188 from 3299 leaves us with 111.
Include the next digit (5) from the dividend after 111, then repeat: 1115 / 797

Advancing to step 6:
If we divide 1115 by 797, we get 1 and a remainder of 318.
Put 1 as the next digit of the answer. 
Result so far: 641.0
Subtract 797 from 1115 to get 318.
Take the next digit (3) from the dividend and append it to 318, then repeat: 3183 / 797

Let's proceed to step 7:
The number 797 fits into 3183 3 times, leaving a remainder of 792.
The next digit of our result is 3. 
Result so far: 6413.0
Subtract 2391 from 3183 to get 792.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7920, and continue the process.

Let's proceed to step 8:
797 can be fit into 7920 9 times, resulting in a remainder of 747.
Use 9 as the next digit of our solution. 
Result so far: 6413.9
Subtracting 7173 from 7920 leaves us with 747.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7470, and continue the process.

Going ahead to step 9:
797 goes into 7470 9 times with a remainder of 297.
Put 9 as the next digit of the answer. 
Result so far: 6413.99
If we take 7173 away from 7470, we end up with 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

The quotient of the division is 6413.99, and the remainder is 0.297.