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

Advancing to step 1:
31 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 31

Going ahead to step 2:
The number 31 fits into 14 0 times, leaving a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 14, we get 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 31

Advancing to step 3:
31 goes into 145 4 times with a remainder of 21.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we take 124 away from 145, we end up with 21.
Take the next digit (8) from the dividend and append it to 21, then repeat: 218 / 31

On to step 4:
31 can be fit into 218 7 times, resulting in a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 47.0
Deduct 217 from 218 and we're left with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 31

Step 5:
31 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 470.0
The remainder is 10 after subtracting 0 from 10.
Fetch the next digit (4) from the dividend, attach it to 10 and continue: 104 / 31

Going ahead to step 6:
31 can be fit into 104 3 times, resulting in a remainder of 11.
The next digit of our result is 3. 
Result so far: 4703.0
Subtracting 93 from 104 leaves us 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.

Advancing to step 7:
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: 4703.3
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 8:
When dividing 170 by 31, we get 5 with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 4703.35
If we take 155 away from 170, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
The number 31 fits into 150 4 times, leaving a remainder of 26.
The next digit of our result is 4. 
Result so far: 4703.354
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 10:
31 goes into 260 8 times with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 4703.3548
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.

Going ahead to step 11:
31 can be fit into 120 3 times, resulting in a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 4703.35483
Subtract 93 from 120 to 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.

Moving on to step 12:
If we divide 270 by 31, we get 8 and a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 4703.354838
If we take 248 away from 270, we end up 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.

On to step 13:
When dividing 220 by 31, we get 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 4703.3548387
Subtracting 217 from 220 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 14:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 4703.3548387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Our division results in 4703.3548387 with a remaining 3e-08.