We look at the division of 512791 by 50 
Let's see how many times 50 fits into 512791.

Moving on to step 1:
50 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
Deduct 0 from 5 and we're left with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 50

Moving on to step 2:
When dividing 51 by 50, we get 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 50 away from 51, we end up with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 50

Going ahead to step 3:
If we divide 12 by 50, we get 0 and a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtract 0 from 12 to get 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 50

On to step 4:
50 goes into 127 2 times with a remainder of 27.
Put 2 as the next digit of the answer. 
Result so far: 102.0
If we subtract 100 from 127, we get 27.
Fetch the next digit (9) from the dividend, attach it to 27 and continue: 279 / 50

Moving on to step 5:
When dividing 279 by 50, we get 5 with a remainder of 29.
Write down 5 as next digit of the result. 
Result so far: 1025.0
The remainder is 29 after subtracting 250 from 279.
Grab the next digit (1) from the dividend, add it to 29, then carry on: 291 / 50

Let's proceed to step 6:
The number 50 fits into 291 5 times, leaving a remainder of 41.
Record the quotient 5 as the next digit in the result. 
Result so far: 10255.0
Subtract 250 from 291 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 7:
50 goes into 410 8 times with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 10255.8
If we take 400 away from 410, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
The number 50 fits into 100 2 times, leaving a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 10255.82
If we subtract 100 from 100, 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.

Advancing to step 9:
50 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10255.82
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.

Going ahead to step 10:
50 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10255.82
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.

After the division, we end up with 10255.82 and a remainder of 0.0.