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

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

Moving on to step 2:
31 can be fit into 55 1 times, resulting in a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 31 from 55 to get 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 31

Advancing to step 3:
248 divided by 31 is 8 with a remainder of 0.
The next digit of our result is 8. 
Result so far: 18.0
The remainder is 0 after subtracting 248 from 248.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 31

Moving on to step 4:
31 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 180.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 31

Going ahead to step 5:
31 can be fit into 26 0 times, resulting in a remainder of 26.
Write down 0 as next digit of the result. 
Result so far: 1800.0
Subtracting 0 from 26 leaves us with 26.
Grab the next digit (6) from the dividend, add it to 26, then carry on: 266 / 31

Moving on to step 6:
When dividing 266 by 31, we get 8 with a remainder of 18.
Write down 8 as next digit of the result. 
Result so far: 18008.0
Deduct 248 from 266 and we're left 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.

Moving on to step 7:
31 goes into 180 5 times with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 18008.5
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 8:
31 can be fit into 250 8 times, resulting in a remainder of 2.
The next digit of our result is 8. 
Result so far: 18008.58
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 18008.58
If we take 0 away from 20, we end up with 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 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
The next digit of our result is 6. 
Result so far: 18008.5806
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.

Going ahead to step 11:
31 goes into 140 4 times with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 18008.58064
Deduct 124 from 140 and we're left 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 12:
160 divided by 31 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 18008.580645
Subtracting 155 from 160 leaves us 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.

Advancing to step 13:
50 divided by 31 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 18008.5806451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 14:
If we divide 190 by 31, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 18008.58064516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 18008.58064516, and the remainder is 4e-09.