5053047 divided by 791 
Our goal is to divide 5053047 by 791.

Let's proceed to step 1:
791 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 791

On to step 2:
If we divide 50 by 791, we get 0 and a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Fetch the next digit (5) from the dividend, attach it to 50 and continue: 505 / 791

Step 3:
The number 791 fits into 505 0 times, leaving a remainder of 505.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 505, we end up with 505.
Include the next digit (3) from the dividend after 505, then repeat: 5053 / 791

Moving on to step 4:
When dividing 5053 by 791, we get 6 with a remainder of 307.
The next digit of our result is 6. 
Result so far: 6.0
Subtracting 4746 from 5053 leaves us with 307.
Bring next digit (0) of the dividend behind the 307 and repeat the process: 3070 / 791

On to step 5:
If we divide 3070 by 791, we get 3 and a remainder of 697.
Record the quotient 3 as the next digit in the result. 
Result so far: 63.0
Subtract 2373 from 3070 to get 697.
Include the next digit (4) from the dividend after 697, then repeat: 6974 / 791

On to step 6:
6974 divided by 791 is 8 with a remainder of 646.
Record the quotient 8 as the next digit in the result. 
Result so far: 638.0
The remainder is 646 after subtracting 6328 from 6974.
Take the next digit (7) from the dividend and append it to 646, then repeat: 6467 / 791

Let's proceed to step 7:
If we divide 6467 by 791, we get 8 and a remainder of 139.
The next digit of our result is 8. 
Result so far: 6388.0
Subtracting 6328 from 6467 leaves us with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Moving on to step 8:
If we divide 1390 by 791, we get 1 and a remainder of 599.
Record the quotient 1 as the next digit in the result. 
Result so far: 6388.1
Subtracting 791 from 1390 leaves us with 599.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5990, and continue the process.

Let's proceed to step 9:
791 goes into 5990 7 times with a remainder of 453.
Use 7 as the next digit of our solution. 
Result so far: 6388.17
If we subtract 5537 from 5990, we get 453.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4530, and continue the process.

Let's proceed to step 10:
791 goes into 4530 5 times with a remainder of 575.
Write down 5 as next digit of the result. 
Result so far: 6388.175
Subtract 3955 from 4530 to get 575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5750, and continue the process.

Let's proceed to step 11:
When dividing 5750 by 791, we get 7 with a remainder of 213.
Record the quotient 7 as the next digit in the result. 
Result so far: 6388.1757
If we subtract 5537 from 5750, we get 213.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2130, and continue the process.

Let's proceed to step 12:
2130 divided by 791 is 2 with a remainder of 548.
Write down 2 as next digit of the result. 
Result so far: 6388.17572
Subtracting 1582 from 2130 leaves us with 548.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Let's proceed to step 13:
791 goes into 5480 6 times with a remainder of 734.
The next digit of our result is 6. 
Result so far: 6388.175726
If we take 4746 away from 5480, we end up with 734.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7340, and continue the process.

Going ahead to step 14:
If we divide 7340 by 791, we get 9 and a remainder of 221.
The next digit of our result is 9. 
Result so far: 6388.1757269
If we subtract 7119 from 7340, we get 221.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2210, and continue the process.

On to step 15:
The number 791 fits into 2210 2 times, leaving a remainder of 628.
Put 2 as the next digit of the answer. 
Result so far: 6388.17572692
If we subtract 1582 from 2210, we get 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

The final result is 6388.17572692 with a remainder of 6.28e-07.