22558 divided by 31 
Let's see how many times 31 fits into 22558.

Going ahead to step 1:
If we divide 2 by 31, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 31

On to step 2:
When dividing 22 by 31, we get 0 with a remainder of 22.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 22 leaves us with 22.
Grab the next digit (5) from the dividend, add it to 22, then carry on: 225 / 31

Advancing to step 3:
31 goes into 225 7 times with a remainder of 8.
Write down 7 as next digit of the result. 
Result so far: 7.0
Deduct 217 from 225 and we're left with 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 31

Step 4:
85 divided by 31 is 2 with a remainder of 23.
Use 2 as the next digit of our solution. 
Result so far: 72.0
The remainder is 23 after subtracting 62 from 85.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 31

Step 5:
The number 31 fits into 238 7 times, leaving a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 727.0
If we take 217 away from 238, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 6:
When dividing 210 by 31, we get 6 with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 727.6
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
31 can be fit into 240 7 times, resulting in a remainder of 23.
The next digit of our result is 7. 
Result so far: 727.67
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 8:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 727.677
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 727.677 and a remainder of 0.0013.