We look at the division of 498791 by 31 
We want to figure out the number of times 498791 can be divided by 31.

Let's proceed to step 1:
31 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 31

Advancing to step 2:
31 can be fit into 49 1 times, resulting in a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 18 after subtracting 31 from 49.
Grab the next digit (8) from the dividend, add it to 18, then carry on: 188 / 31

Step 3:
When dividing 188 by 31, we get 6 with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Subtract 186 from 188 to get 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 31

On to step 4:
When dividing 27 by 31, we get 0 with a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 160.0
If we subtract 0 from 27, we get 27.
Append the next digit (9) from the dividend to 27 and continue with: 279 / 31

Moving on to step 5:
When dividing 279 by 31, we get 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 1609.0
The remainder is 0 after subtracting 279 from 279.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 31

Let's proceed to step 6:
1 divided by 31 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 16090.0
Subtracting 0 from 1 leaves us 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.

Let's proceed to step 7:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 16090.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
When dividing 100 by 31, we get 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 16090.03
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 9:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 16090.032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
80 divided by 31 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 16090.0322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 16090.0322 with a remainder of 0.00018.