245582 divided by 31 
We want to figure out the number of times 245582 can be divided by 31.

On to step 1:
The number 31 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 31

Step 2:
If we divide 24 by 31, we get 0 and a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 24 after subtracting 0 from 24.
Grab the next digit (5) from the dividend, add it to 24, then carry on: 245 / 31

Advancing to step 3:
31 can be fit into 245 7 times, resulting in a remainder of 28.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we subtract 217 from 245, we get 28.
Include the next digit (5) from the dividend after 28, then repeat: 285 / 31

On to step 4:
When dividing 285 by 31, we get 9 with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 79.0
Subtract 279 from 285 to get 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 31

Moving on 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: 792.0
The remainder is 6 after subtracting 62 from 68.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 31

Moving on to step 6:
31 goes into 62 2 times with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 7922.0
If we subtract 62 from 62, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
31 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 7922.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
The number 31 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 7922.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 7922.0 and a remainder of 0.0.