Let's divide 501807 by 97
Our goal is to divide 501807 by 97.

On to step 1:
5 divided by 97 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 97

Moving on to step 2:
The number 97 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Fetch the next digit (1) from the dividend, attach it to 50 and continue: 501 / 97

On to step 3:
The number 97 fits into 501 5 times, leaving a remainder of 16.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtract 485 from 501 to get 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 97

Moving on to step 4:
When dividing 168 by 97, we get 1 with a remainder of 71.
Put 1 as the next digit of the answer. 
Result so far: 51.0
If we take 97 away from 168, we end up with 71.
Include the next digit (0) from the dividend after 71, then repeat: 710 / 97

Step 5:
If we divide 710 by 97, we get 7 and a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 517.0
If we take 679 away from 710, we end up with 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 97

On to step 6:
317 divided by 97 is 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 5173.0
Subtract 291 from 317 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 7:
260 divided by 97 is 2 with a remainder of 66.
The number 2 becomes the next digit in our result. 
Result so far: 5173.2
Subtract 194 from 260 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 8:
The number 97 fits into 660 6 times, leaving a remainder of 78.
Record the quotient 6 as the next digit in the result. 
Result so far: 5173.26
If we take 582 away from 660, we end up with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Step 9:
When dividing 780 by 97, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 5173.268
If we take 776 away from 780, we end up 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.

Advancing to step 10:
If we divide 40 by 97, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 5173.268
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 11:
If we divide 400 by 97, we get 4 and a remainder of 12.
The next digit of our result is 4. 
Result so far: 5173.26804
Deduct 388 from 400 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 12:
If we divide 120 by 97, we get 1 and a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 5173.268041
Subtract 97 from 120 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 13:
If we divide 230 by 97, we get 2 and a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 5173.2680412
The remainder is 36 after subtracting 194 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 14:
If we divide 360 by 97, we get 3 and a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 5173.26804123
The remainder is 69 after subtracting 291 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

The final outcome is 5173.26804123, with a leftover of 6.9e-08.