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

Let's proceed to step 1:
51 can be fit into 7 0 times, resulting in a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 51

On to step 2:
51 goes into 79 1 times with a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 51 from 79 to get 28.
Include the next digit (8) from the dividend after 28, then repeat: 288 / 51

Step 3:
288 divided by 51 is 5 with a remainder of 33.
The next digit of our result is 5. 
Result so far: 15.0
If we take 255 away from 288, we end up with 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 51

Going ahead to step 4:
51 can be fit into 338 6 times, resulting in a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 156.0
If we take 306 away from 338, we end up with 32.
Grab the next digit (3) from the dividend, add it to 32, then carry on: 323 / 51

Going ahead to step 5:
If we divide 323 by 51, we get 6 and a remainder of 17.
Use 6 as the next digit of our solution. 
Result so far: 1566.0
The remainder is 17 after subtracting 306 from 323.
Grab the next digit (1) from the dividend, add it to 17, then carry on: 171 / 51

Step 6:
51 goes into 171 3 times with a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 15663.0
The remainder is 18 after subtracting 153 from 171.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
180 divided by 51 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 15663.3
The remainder is 27 after subtracting 153 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 8:
If we divide 270 by 51, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 15663.35
Subtracting 255 from 270 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
150 divided by 51 is 2 with a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 15663.352
If we subtract 102 from 150, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 10:
If we divide 480 by 51, we get 9 and a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 15663.3529
Subtract 459 from 480 to get 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:
210 divided by 51 is 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 15663.35294
Subtract 204 from 210 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 12:
When dividing 60 by 51, we get 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 15663.352941
Subtract 51 from 60 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 13:
If we divide 90 by 51, we get 1 and a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 15663.3529411
Deduct 51 from 90 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The final outcome is 15663.3529411, with a leftover of 3.9e-07.