584242 divided by 31 
We want to divide 584242 by 31.

Step 1:
5 divided by 31 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 31

Advancing to step 2:
31 goes into 58 1 times with a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 31 from 58 leaves us with 27.
Bring next digit (4) of the dividend behind the 27 and repeat the process: 274 / 31

Moving on to step 3:
274 divided by 31 is 8 with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Deduct 248 from 274 and we're left with 26.
Append the next digit (2) from the dividend to 26 and continue with: 262 / 31

Moving on to step 4:
31 can be fit into 262 8 times, resulting in a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 188.0
Deduct 248 from 262 and we're left with 14.
Include the next digit (4) from the dividend after 14, then repeat: 144 / 31

Advancing to step 5:
144 divided by 31 is 4 with a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 1884.0
The remainder is 20 after subtracting 124 from 144.
Take the next digit (2) from the dividend and append it to 20, then repeat: 202 / 31

Advancing to step 6:
The number 31 fits into 202 6 times, leaving a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 18846.0
Subtract 186 from 202 to 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.

Going ahead to step 7:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 18846.5
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.

Advancing to step 8:
If we divide 50 by 31, we get 1 and a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 18846.51
Deduct 31 from 50 and we're left 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.

Step 9:
The number 31 fits into 190 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 18846.516
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.

Moving on to step 10:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 18846.5161
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
If we divide 90 by 31, we get 2 and a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 18846.51612
If we take 62 away from 90, we end up 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.

Going ahead to step 12:
280 divided by 31 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 18846.516129
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 13:
31 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 18846.516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
When dividing 100 by 31, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 18846.51612903
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.

The final outcome is 18846.51612903, with a leftover of 7e-09.