We divide 501021 by 97
We're looking to find how many times 97 goes into 501021.

Let's proceed to step 1:
When dividing 5 by 97, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 97

On to step 2:
When dividing 50 by 97, we get 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Fetch the next digit (1) from the dividend, attach it to 50 and continue: 501 / 97

On to step 3:
97 can be fit into 501 5 times, resulting in a remainder of 16.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 485 from 501, we get 16.
Bring next digit (0) of the dividend behind the 16 and repeat the process: 160 / 97

On to step 4:
97 can be fit into 160 1 times, resulting in a remainder of 63.
The number 1 becomes the next digit in our result. 
Result so far: 51.0
If we take 97 away from 160, we end up with 63.
Append the next digit (2) from the dividend to 63 and continue with: 632 / 97

Advancing to step 5:
632 divided by 97 is 6 with a remainder of 50.
Put 6 as the next digit of the answer. 
Result so far: 516.0
If we take 582 away from 632, we end up with 50.
Append the next digit (1) from the dividend to 50 and continue with: 501 / 97

Going ahead to step 6:
When dividing 501 by 97, we get 5 with a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 5165.0
Deduct 485 from 501 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.

On to step 7:
160 divided by 97 is 1 with a remainder of 63.
Write down 1 as next digit of the result. 
Result so far: 5165.1
Subtracting 97 from 160 leaves us with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Going ahead to step 8:
630 divided by 97 is 6 with a remainder of 48.
Write down 6 as next digit of the result. 
Result so far: 5165.16
Subtract 582 from 630 to 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.

Step 9:
97 goes into 480 4 times with a remainder of 92.
Record the quotient 4 as the next digit in the result. 
Result so far: 5165.164
Subtract 388 from 480 to get 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 10:
920 divided by 97 is 9 with a remainder of 47.
Write down 9 as next digit of the result. 
Result so far: 5165.1649
Deduct 873 from 920 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 11:
470 divided by 97 is 4 with a remainder of 82.
Record the quotient 4 as the next digit in the result. 
Result so far: 5165.16494
The remainder is 82 after subtracting 388 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 12:
97 can be fit into 820 8 times, resulting in a remainder of 44.
Put 8 as the next digit of the answer. 
Result so far: 5165.164948
Subtracting 776 from 820 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 13:
If we divide 440 by 97, we get 4 and a remainder of 52.
Write down 4 as next digit of the result. 
Result so far: 5165.1649484
The remainder is 52 after subtracting 388 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 14:
If we divide 520 by 97, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 5165.16494845
Deduct 485 from 520 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Our division results in 5165.16494845 with a remaining 3.5e-08.