Let's divide 548584 by 31
We want to divide 548584 by 31.

Let's proceed to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 31

Step 2:
54 divided by 31 is 1 with a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 54, we end up with 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 31

Step 3:
When dividing 238 by 31, we get 7 with a remainder of 21.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Subtracting 217 from 238 leaves us with 21.
Bring next digit (5) of the dividend behind the 21 and repeat the process: 215 / 31

Let's proceed to step 4:
The number 31 fits into 215 6 times, leaving a remainder of 29.
Put 6 as the next digit of the answer. 
Result so far: 176.0
Subtracting 186 from 215 leaves us with 29.
Grab the next digit (8) from the dividend, add it to 29, then carry on: 298 / 31

On to step 5:
31 goes into 298 9 times with a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 1769.0
If we take 279 away from 298, we end up with 19.
Append the next digit (4) from the dividend to 19 and continue with: 194 / 31

Moving on to step 6:
When dividing 194 by 31, we get 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 17696.0
Deduct 186 from 194 and we're left 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.

Going ahead to step 7:
80 divided by 31 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 17696.2
Subtract 62 from 80 to 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.

Advancing to step 8:
180 divided by 31 is 5 with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 17696.25
Deduct 155 from 180 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 9:
250 divided by 31 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 17696.258
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
When dividing 20 by 31, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 17696.258
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
31 goes into 200 6 times with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 17696.25806
If we take 186 away from 200, we end up 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.

Let's proceed to step 12:
When dividing 140 by 31, we get 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 17696.258064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 13:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 17696.2580645
The remainder is 5 after subtracting 155 from 160.
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 14:
31 goes into 50 1 times with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 17696.25806451
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.

The quotient of the division is 17696.25806451, and the remainder is 1.9e-08.