We look at the division of 155012 by 31 
We're looking to find how many times 31 goes into 155012.

Step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 31

Moving on to step 2:
If we divide 15 by 31, we get 0 and a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Grab the next digit (5) from the dividend, add it to 15, then carry on: 155 / 31

On to step 3:
31 can be fit into 155 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 155 from 155 and we're left with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 31

Advancing to step 4:
31 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50.0
If we take 0 away from 0, we end up with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 31

Step 5:
If we divide 1 by 31, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 500.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 31

Moving on to step 6:
31 can be fit into 12 0 times, resulting in a remainder of 12.
The next digit of our result is 0. 
Result so far: 5000.0
If we subtract 0 from 12, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
120 divided by 31 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 5000.3
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 8:
If we divide 270 by 31, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 5000.38
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 9:
220 divided by 31 is 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 5000.387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 10:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 5000.387
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 11:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The next digit of our result is 9. 
Result so far: 5000.38709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 12:
210 divided by 31 is 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 5000.387096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 13:
When dividing 240 by 31, we get 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 5000.3870967
If we subtract 217 from 240, we get 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 14:
When dividing 230 by 31, we get 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 5000.38709677
If we take 217 away from 230, we end up with 13.
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 5000.38709677 and a remainder of 1.3e-08.