998121 divided by 31 
We want to figure out the number of times 998121 can be divided by 31.

Advancing to step 1:
9 divided by 31 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 31

On to step 2:
31 can be fit into 99 3 times, resulting in a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 93 away from 99, we end up with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 31

Going ahead to step 3:
The number 31 fits into 68 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 32.0
Subtract 62 from 68 to get 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 31

Step 4:
When dividing 61 by 31, we get 1 with a remainder of 30.
The number 1 becomes the next digit in our result. 
Result so far: 321.0
If we take 31 away from 61, we end up with 30.
Take the next digit (2) from the dividend and append it to 30, then repeat: 302 / 31

Going ahead to step 5:
31 goes into 302 9 times with a remainder of 23.
Write down 9 as next digit of the result. 
Result so far: 3219.0
If we subtract 279 from 302, we get 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 31

Going ahead to step 6:
When dividing 231 by 31, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 32197.0
Subtracting 217 from 231 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 7:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 32197.4
If we take 124 away from 140, we end up 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.

Going ahead to step 8:
When dividing 160 by 31, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 32197.45
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 9:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 32197.451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 10:
190 divided by 31 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 32197.4516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 11:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 32197.45161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 12:
90 divided by 31 is 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 32197.451612
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
31 goes into 280 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 32197.4516129
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 14:
The number 31 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 32197.4516129
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.

Our division results in 32197.4516129 with a remaining 1e-08.