We're dividing 582714 by 31 
Our goal is to divide 582714 by 31.

Advancing to step 1:
31 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 31

Let's proceed to step 2:
The number 31 fits into 58 1 times, leaving a remainder of 27.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 31 from 58 to get 27.
Append the next digit (2) from the dividend to 27 and continue with: 272 / 31

Going ahead to step 3:
31 can be fit into 272 8 times, resulting in a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we subtract 248 from 272, we get 24.
Grab the next digit (7) from the dividend, add it to 24, then carry on: 247 / 31

Moving on to step 4:
31 goes into 247 7 times with a remainder of 30.
Put 7 as the next digit of the answer. 
Result so far: 187.0
If we take 217 away from 247, we end up with 30.
Fetch the next digit (1) from the dividend, attach it to 30 and continue: 301 / 31

On to step 5:
31 can be fit into 301 9 times, resulting in a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 1879.0
Subtracting 279 from 301 leaves us with 22.
Bring next digit (4) of the dividend behind the 22 and repeat the process: 224 / 31

Moving on to step 6:
When dividing 224 by 31, we get 7 with a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 18797.0
If we take 217 away from 224, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
The number 31 fits into 70 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 18797.2
Deduct 62 from 70 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.

On to step 8:
If we divide 80 by 31, we get 2 and a remainder of 18.
The next digit of our result is 2. 
Result so far: 18797.22
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 final outcome is 18797.22, with a leftover of 0.018.