Let's divide 125149 by 31
We want to figure out the number of times 125149 can be divided by 31.

Going ahead to step 1:
31 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 31

Moving on to step 2:
If we divide 12 by 31, we get 0 and a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 31

Step 3:
If we divide 125 by 31, we get 4 and a remainder of 1.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 124 from 125 leaves us with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 31

On to step 4:
31 can be fit into 11 0 times, resulting in a remainder of 11.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Subtracting 0 from 11 leaves us with 11.
Take the next digit (4) from the dividend and append it to 11, then repeat: 114 / 31

Let's proceed to step 5:
If we divide 114 by 31, we get 3 and a remainder of 21.
The number 3 becomes the next digit in our result. 
Result so far: 403.0
The remainder is 21 after subtracting 93 from 114.
Grab the next digit (9) from the dividend, add it to 21, then carry on: 219 / 31

Advancing to step 6:
When dividing 219 by 31, we get 7 with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 4037.0
Subtract 217 from 219 to 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.

Going ahead to step 7:
When dividing 20 by 31, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 4037.0
Subtracting 0 from 20 leaves us 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.

On to step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 4037.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.

Advancing to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 4037.064
If we take 124 away from 140, we end up 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.

Moving on to step 10:
When dividing 160 by 31, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 4037.0645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 11:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 4037.06451
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.

Moving on to step 12:
If we divide 190 by 31, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 4037.064516
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.

Moving on to step 13:
If we divide 40 by 31, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 4037.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.

Moving on to step 14:
When dividing 90 by 31, we get 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 4037.06451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 4037.06451612 with a remaining 2.8e-08.