Let's divide 31310597 by 501
We want to figure out the number of times 31310597 can be divided by 501.

On to step 1:
501 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 501

Let's proceed to step 2:
When dividing 31 by 501, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Fetch the next digit (3) from the dividend, attach it to 31 and continue: 313 / 501

Let's proceed to step 3:
313 divided by 501 is 0 with a remainder of 313.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 313 to get 313.
Take the next digit (1) from the dividend and append it to 313, then repeat: 3131 / 501

Going ahead to step 4:
When dividing 3131 by 501, we get 6 with a remainder of 125.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Deduct 3006 from 3131 and we're left with 125.
Grab the next digit (0) from the dividend, add it to 125, then carry on: 1250 / 501

Advancing to step 5:
When dividing 1250 by 501, we get 2 with a remainder of 248.
Put 2 as the next digit of the answer. 
Result so far: 62.0
Subtract 1002 from 1250 to get 248.
Bring next digit (5) of the dividend behind the 248 and repeat the process: 2485 / 501

Let's proceed to step 6:
The number 501 fits into 2485 4 times, leaving a remainder of 481.
Record the quotient 4 as the next digit in the result. 
Result so far: 624.0
Subtracting 2004 from 2485 leaves us with 481.
Append the next digit (9) from the dividend to 481 and continue with: 4819 / 501

Step 7:
The number 501 fits into 4819 9 times, leaving a remainder of 310.
Put 9 as the next digit of the answer. 
Result so far: 6249.0
If we subtract 4509 from 4819, we get 310.
Grab the next digit (7) from the dividend, add it to 310, then carry on: 3107 / 501

Step 8:
If we divide 3107 by 501, we get 6 and a remainder of 101.
The number 6 becomes the next digit in our result. 
Result so far: 62496.0
Subtract 3006 from 3107 to get 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Step 9:
If we divide 1010 by 501, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 62496.2
If we take 1002 away from 1010, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
The number 501 fits into 80 0 times, leaving a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 62496.2
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 11:
If we divide 800 by 501, we get 1 and a remainder of 299.
Record the quotient 1 as the next digit in the result. 
Result so far: 62496.201
If we subtract 501 from 800, we get 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2990, and continue the process.

Advancing to step 12:
The number 501 fits into 2990 5 times, leaving a remainder of 485.
The next digit of our result is 5. 
Result so far: 62496.2015
The remainder is 485 after subtracting 2505 from 2990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4850, and continue the process.

Let's proceed to step 13:
If we divide 4850 by 501, we get 9 and a remainder of 341.
The number 9 becomes the next digit in our result. 
Result so far: 62496.20159
The remainder is 341 after subtracting 4509 from 4850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3410, and continue the process.

Step 14:
501 goes into 3410 6 times with a remainder of 404.
The next digit of our result is 6. 
Result so far: 62496.201596
The remainder is 404 after subtracting 3006 from 3410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Step 15:
501 can be fit into 4040 8 times, resulting in a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 62496.2015968
Deduct 4008 from 4040 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 16:
When dividing 320 by 501, we get 0 with a remainder of 320.
Use 0 as the next digit of our solution. 
Result so far: 62496.2015968
Subtracting 0 from 320 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

The final result is 62496.2015968 with a remainder of 3.2e-07.