124279 ÷ 31 
We're looking to find how many times 31 goes into 124279.

On to step 1:
31 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 31

Step 2:
31 can be fit into 12 0 times, resulting in a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Grab the next digit (4) from the dividend, add it to 12, then carry on: 124 / 31

Advancing to step 3:
124 divided by 31 is 4 with a remainder of 0.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 124 from 124 leaves us with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 31

Advancing to step 4:
When dividing 2 by 31, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 40.0
If we subtract 0 from 2, we get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 31

Moving on to step 5:
The number 31 fits into 27 0 times, leaving a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 400.0
The remainder is 27 after subtracting 0 from 27.
Fetch the next digit (9) from the dividend, attach it to 27 and continue: 279 / 31

Going ahead to step 6:
279 divided by 31 is 9 with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 4009.0
If we take 279 away from 279, we end up 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 7:
The number 31 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4009.0
If we subtract 0 from 0, 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.

Going ahead to step 8:
If we divide 0 by 31, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4009.0
Subtracting 0 from 0 leaves us 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.

Our division results in 4009.0 with a remaining 0.0.