Let's divide 509797 by 51
Let's see how many times 51 fits into 509797.

Moving on to step 1:
If we divide 5 by 51, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 51

On to step 2:
51 can be fit into 50 0 times, resulting in a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Take the next digit (9) from the dividend and append it to 50, then repeat: 509 / 51

Let's proceed to step 3:
If we divide 509 by 51, we get 9 and a remainder of 50.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Deduct 459 from 509 and we're left with 50.
Take the next digit (7) from the dividend and append it to 50, then repeat: 507 / 51

Let's proceed to step 4:
If we divide 507 by 51, we get 9 and a remainder of 48.
Put 9 as the next digit of the answer. 
Result so far: 99.0
The remainder is 48 after subtracting 459 from 507.
Take the next digit (9) from the dividend and append it to 48, then repeat: 489 / 51

Let's proceed to step 5:
51 goes into 489 9 times with a remainder of 30.
Put 9 as the next digit of the answer. 
Result so far: 999.0
If we take 459 away from 489, we end up with 30.
Bring next digit (7) of the dividend behind the 30 and repeat the process: 307 / 51

Step 6:
If we divide 307 by 51, we get 6 and a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 9996.0
The remainder is 1 after subtracting 306 from 307.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
The number 51 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 9996.0
Deduct 0 from 10 and we're left 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.

Advancing to step 8:
If we divide 100 by 51, we get 1 and a remainder of 49.
The next digit of our result is 1. 
Result so far: 9996.01
If we subtract 51 from 100, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Step 9:
51 goes into 490 9 times with a remainder of 31.
Write down 9 as next digit of the result. 
Result so far: 9996.019
Deduct 459 from 490 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 10:
51 can be fit into 310 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 9996.0196
Deduct 306 from 310 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
51 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 9996.0196
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 12:
If we divide 400 by 51, we get 7 and a remainder of 43.
The next digit of our result is 7. 
Result so far: 9996.019607
Subtract 357 from 400 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 13:
When dividing 430 by 51, we get 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 9996.0196078
Subtract 408 from 430 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 14:
If we divide 220 by 51, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 9996.01960784
Deduct 204 from 220 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 9996.01960784, and the remainder is 1.6e-08.