We're dividing 140901 by 31 
Let's see how many times 31 fits into 140901.

Moving on to step 1:
When dividing 1 by 31, we get 0 with 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.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 31

Going ahead to step 2:
The number 31 fits into 14 0 times, leaving a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 14, we end up with 14.
Grab the next digit (0) from the dividend, add it to 14, then carry on: 140 / 31

Advancing to step 3:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 124 from 140 and we're left with 16.
Fetch the next digit (9) from the dividend, attach it to 16 and continue: 169 / 31

Let's proceed to step 4:
The number 31 fits into 169 5 times, leaving a remainder of 14.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
If we take 155 away from 169, we end up with 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 31

Moving on to step 5:
If we divide 140 by 31, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 454.0
If we subtract 124 from 140, we get 16.
Bring next digit (1) of the dividend behind the 16 and repeat the process: 161 / 31

Advancing to step 6:
31 goes into 161 5 times with a remainder of 6.
Use 5 as the next digit of our solution. 
Result so far: 4545.0
Deduct 155 from 161 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
The number 31 fits into 60 1 times, leaving a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 4545.1
If we take 31 away from 60, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 8:
The number 31 fits into 290 9 times, leaving a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 4545.19
Deduct 279 from 290 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 9:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 4545.193
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 10:
When dividing 170 by 31, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 4545.1935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
If we divide 150 by 31, we get 4 and a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 4545.19354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 12:
If we divide 260 by 31, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 4545.193548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 13:
31 can be fit into 120 3 times, resulting in a remainder of 27.
The next digit of our result is 3. 
Result so far: 4545.1935483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 14:
270 divided by 31 is 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 4545.19354838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The quotient of the division is 4545.19354838, and the remainder is 2.2e-08.