We divide 145823 by 31
Let's see how many times 31 fits into 145823.

Advancing to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 31

Going ahead to step 2:
The number 31 fits into 14 0 times, leaving a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 14 leaves us with 14.
Bring next digit (5) of the dividend behind the 14 and repeat the process: 145 / 31

Let's proceed to step 3:
When dividing 145 by 31, we get 4 with a remainder of 21.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 124 from 145 leaves us with 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 31

Going ahead to step 4:
The number 31 fits into 218 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 47.0
Subtracting 217 from 218 leaves us with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 31

Moving on to step 5:
31 goes into 12 0 times with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 470.0
If we take 0 away from 12, we end up with 12.
Take the next digit (3) from the dividend and append it to 12, then repeat: 123 / 31

Let's proceed to step 6:
31 can be fit into 123 3 times, resulting in a remainder of 30.
Put 3 as the next digit of the answer. 
Result so far: 4703.0
If we subtract 93 from 123, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 7:
When dividing 300 by 31, we get 9 with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 4703.9
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 8:
31 goes into 210 6 times with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 4703.96
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.

Going ahead to step 9:
240 divided by 31 is 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 4703.967
Deduct 217 from 240 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 10:
31 goes into 230 7 times with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 4703.9677
Subtracting 217 from 230 leaves us 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.

The final result is 4703.9677 with a remainder of 0.00013.