We're dividing 498561 by 31 
We want to divide 498561 by 31.

Let's proceed to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 31

Going ahead to step 2:
If we divide 49 by 31, we get 1 and a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 31 from 49, we get 18.
Fetch the next digit (8) from the dividend, attach it to 18 and continue: 188 / 31

Moving on to step 3:
31 goes into 188 6 times with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Subtracting 186 from 188 leaves us with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 31

Let's proceed to step 4:
31 goes into 25 0 times with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 160.0
Subtracting 0 from 25 leaves us with 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 31

Going ahead to step 5:
31 can be fit into 256 8 times, resulting in a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 1608.0
Deduct 248 from 256 and we're left with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 31

Going ahead to step 6:
If we divide 81 by 31, we get 2 and a remainder of 19.
Use 2 as the next digit of our solution. 
Result so far: 16082.0
Subtracting 62 from 81 leaves us with 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 7:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 16082.6
If we subtract 186 from 190, we 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.

On to step 8:
40 divided by 31 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 16082.61
If we subtract 31 from 40, we 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.

Moving on to step 9:
The number 31 fits into 90 2 times, leaving a remainder of 28.
The next digit of our result is 2. 
Result so far: 16082.612
Subtracting 62 from 90 leaves us 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.

Advancing to step 10:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 16082.6129
If we subtract 279 from 280, we get 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 11:
The number 31 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 16082.6129
If we take 0 away from 10, we end up 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.

Advancing to step 12:
When dividing 100 by 31, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 16082.612903
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.

On to step 13:
When dividing 70 by 31, we get 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 16082.6129032
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.

Step 14:
80 divided by 31 is 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 16082.61290322
If we subtract 62 from 80, we get 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 quotient of the division is 16082.61290322, and the remainder is 1.8e-08.