We're dividing 504791 by 49 
We want to divide 504791 by 49.

Going ahead to step 1:
49 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 49

Let's proceed to step 2:
50 divided by 49 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 49 from 50 to get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 49

Step 3:
49 can be fit into 14 0 times, resulting in a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 14, we get 14.
Grab the next digit (7) from the dividend, add it to 14, then carry on: 147 / 49

Step 4:
49 goes into 147 3 times with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 103.0
The remainder is 0 after subtracting 147 from 147.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 49

Step 5:
9 divided by 49 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 1030.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 49

Moving on to step 6:
The number 49 fits into 91 1 times, leaving a remainder of 42.
Write down 1 as next digit of the result. 
Result so far: 10301.0
If we subtract 49 from 91, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 7:
49 goes into 420 8 times with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 10301.8
The remainder is 28 after subtracting 392 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
280 divided by 49 is 5 with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 10301.85
Subtract 245 from 280 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 9:
49 can be fit into 350 7 times, resulting in a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 10301.857
Subtracting 343 from 350 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 10:
70 divided by 49 is 1 with a remainder of 21.
The next digit of our result is 1. 
Result so far: 10301.8571
Subtracting 49 from 70 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 11:
49 can be fit into 210 4 times, resulting in a remainder of 14.
The next digit of our result is 4. 
Result so far: 10301.85714
If we take 196 away from 210, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 12:
49 can be fit into 140 2 times, resulting in a remainder of 42.
The next digit of our result is 2. 
Result so far: 10301.857142
The remainder is 42 after subtracting 98 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 13:
49 can be fit into 420 8 times, resulting in a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 10301.8571428
If we subtract 392 from 420, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 14:
49 goes into 280 5 times with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 10301.85714285
Subtract 245 from 280 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

After the division, we end up with 10301.85714285 and a remainder of 3.5e-08.