Let's divide 582282 by 31
Our goal is to divide 582282 by 31.

Moving on to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 31

Advancing to step 2:
The number 31 fits into 58 1 times, leaving a remainder of 27.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 31 away from 58, we end up with 27.
Append the next digit (2) from the dividend to 27 and continue with: 272 / 31

Advancing to step 3:
The number 31 fits into 272 8 times, leaving a remainder of 24.
The next digit of our result is 8. 
Result so far: 18.0
Subtract 248 from 272 to get 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 31

Advancing to step 4:
242 divided by 31 is 7 with a remainder of 25.
Use 7 as the next digit of our solution. 
Result so far: 187.0
Deduct 217 from 242 and we're left with 25.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 31

On to step 5:
The number 31 fits into 258 8 times, leaving a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 1878.0
If we take 248 away from 258, we end up with 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 31

On to step 6:
The number 31 fits into 102 3 times, leaving a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 18783.0
If we subtract 93 from 102, 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.

Let's proceed to step 7:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 18783.2
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.

Step 8:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 18783.29
If we take 279 away from 280, we end up 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.

Advancing to step 9:
When dividing 10 by 31, we get 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 18783.29
Subtracting 0 from 10 leaves us 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.

Step 10:
The number 31 fits into 100 3 times, leaving a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 18783.2903
Subtract 93 from 100 to 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.

Moving on to step 11:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 18783.29032
Subtract 62 from 70 to get 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 12:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 18783.290322
If we take 62 away from 80, we end up 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.

After the division, we end up with 18783.290322 and a remainder of 1.8e-06.