We're dividing 152584 by 31 
We want to figure out the number of times 152584 can be divided by 31.

Let's proceed to step 1:
The number 31 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 31

Advancing to step 2:
31 goes into 15 0 times with a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 15 to get 15.
Take the next digit (2) from the dividend and append it to 15, then repeat: 152 / 31

Let's proceed to step 3:
The number 31 fits into 152 4 times, leaving a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtract 124 from 152 to get 28.
Include the next digit (5) from the dividend after 28, then repeat: 285 / 31

Let's proceed to step 4:
31 goes into 285 9 times with a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 49.0
If we subtract 279 from 285, we get 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 31

Going ahead to step 5:
When dividing 68 by 31, we get 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 492.0
Subtract 62 from 68 to get 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 31

On to step 6:
If we divide 64 by 31, we get 2 and a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 4922.0
The remainder is 2 after subtracting 62 from 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
20 divided by 31 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 4922.0
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.

Step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
The next digit of our result is 6. 
Result so far: 4922.06
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.

Step 9:
140 divided by 31 is 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 4922.064
Subtracting 124 from 140 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
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: 4922.0645
If we take 155 away from 160, we end up with 5.
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 11:
If we divide 50 by 31, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 4922.06451
Subtract 31 from 50 to 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.

Going ahead to step 12:
If we divide 190 by 31, we get 6 and a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 4922.064516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 13:
When dividing 40 by 31, we get 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 4922.0645161
Subtract 31 from 40 to 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.

On to step 14:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 4922.06451612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 4922.06451612, with a leftover of 2.8e-08.