We divide 31291608 by 997
We want to figure out the number of times 31291608 can be divided by 997.

Going ahead to step 1:
997 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 997

Going ahead to step 2:
When dividing 31 by 997, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (2) from the dividend after 31, then repeat: 312 / 997

Let's proceed to step 3:
The number 997 fits into 312 0 times, leaving a remainder of 312.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 312 leaves us with 312.
Grab the next digit (9) from the dividend, add it to 312, then carry on: 3129 / 997

Going ahead to step 4:
The number 997 fits into 3129 3 times, leaving a remainder of 138.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 2991 from 3129 leaves us with 138.
Grab the next digit (1) from the dividend, add it to 138, then carry on: 1381 / 997

Step 5:
If we divide 1381 by 997, we get 1 and a remainder of 384.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Deduct 997 from 1381 and we're left with 384.
Bring next digit (6) of the dividend behind the 384 and repeat the process: 3846 / 997

Going ahead to step 6:
The number 997 fits into 3846 3 times, leaving a remainder of 855.
Put 3 as the next digit of the answer. 
Result so far: 313.0
The remainder is 855 after subtracting 2991 from 3846.
Bring next digit (0) of the dividend behind the 855 and repeat the process: 8550 / 997

Moving on to step 7:
997 goes into 8550 8 times with a remainder of 574.
Use 8 as the next digit of our solution. 
Result so far: 3138.0
If we take 7976 away from 8550, we end up with 574.
Append the next digit (8) from the dividend to 574 and continue with: 5748 / 997

On to step 8:
5748 divided by 997 is 5 with a remainder of 763.
Write down 5 as next digit of the result. 
Result so far: 31385.0
If we subtract 4985 from 5748, we get 763.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7630, and continue the process.

Let's proceed to step 9:
If we divide 7630 by 997, we get 7 and a remainder of 651.
The next digit of our result is 7. 
Result so far: 31385.7
The remainder is 651 after subtracting 6979 from 7630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6510, and continue the process.

Let's proceed to step 10:
6510 divided by 997 is 6 with a remainder of 528.
The next digit of our result is 6. 
Result so far: 31385.76
The remainder is 528 after subtracting 5982 from 6510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5280, and continue the process.

Advancing to step 11:
The number 997 fits into 5280 5 times, leaving a remainder of 295.
Use 5 as the next digit of our solution. 
Result so far: 31385.765
Subtract 4985 from 5280 to get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Step 12:
2950 divided by 997 is 2 with a remainder of 956.
The next digit of our result is 2. 
Result so far: 31385.7652
Subtract 1994 from 2950 to get 956.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9560, and continue the process.

Let's proceed to step 13:
997 goes into 9560 9 times with a remainder of 587.
Write down 9 as next digit of the result. 
Result so far: 31385.76529
Subtract 8973 from 9560 to get 587.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5870, and continue the process.

Moving on to step 14:
5870 divided by 997 is 5 with a remainder of 885.
Use 5 as the next digit of our solution. 
Result so far: 31385.765295
If we take 4985 away from 5870, we end up with 885.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8850, and continue the process.

Step 15:
If we divide 8850 by 997, we get 8 and a remainder of 874.
The next digit of our result is 8. 
Result so far: 31385.7652958
If we subtract 7976 from 8850, we get 874.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8740, and continue the process.

Moving on to step 16:
997 can be fit into 8740 8 times, resulting in a remainder of 764.
Use 8 as the next digit of our solution. 
Result so far: 31385.76529588
The remainder is 764 after subtracting 7976 from 8740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7640, and continue the process.

The final outcome is 31385.76529588, with a leftover of 7.64e-07.