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

On to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 31

Advancing to step 2:
If we divide 38 by 31, we get 1 and a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 38 and we're left with 7.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 31

Going ahead to step 3:
If we divide 71 by 31, we get 2 and a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
The remainder is 9 after subtracting 62 from 71.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 31

Going ahead to step 4:
When dividing 94 by 31, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 123.0
If we subtract 93 from 94, we get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 31

Advancing to step 5:
31 can be fit into 15 0 times, resulting in a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 1230.0
The remainder is 15 after subtracting 0 from 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 31

Going ahead to step 6:
When dividing 150 by 31, we get 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 12304.0
Deduct 124 from 150 and we're left 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.

Advancing to step 7:
31 goes into 260 8 times with a remainder of 12.
The next digit of our result is 8. 
Result so far: 12304.8
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
120 divided by 31 is 3 with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 12304.83
If we take 93 away from 120, we end up 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 9:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 12304.838
If we subtract 248 from 270, we 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.

Moving on to step 10:
220 divided by 31 is 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 12304.8387
If we take 217 away from 220, we end up 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.

Advancing to step 11:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 12304.8387
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 12:
300 divided by 31 is 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 12304.838709
If we take 279 away from 300, we end up 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.

On to step 13:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 12304.8387096
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.

Advancing to step 14:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 12304.83870967
If we take 217 away from 240, we end up 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.

The final outcome is 12304.83870967, with a leftover of 2.3e-08.