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

Going ahead to step 1:
The number 389 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 389

Going ahead to step 2:
389 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (4) from the dividend after 31, then repeat: 314 / 389

Moving on to step 3:
The number 389 fits into 314 0 times, leaving a remainder of 314.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 314 leaves us with 314.
Grab the next digit (0) from the dividend, add it to 314, then carry on: 3140 / 389

Step 4:
The number 389 fits into 3140 8 times, leaving a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we take 3112 away from 3140, we end up with 28.
Append the next digit (4) from the dividend to 28 and continue with: 284 / 389

Let's proceed to step 5:
When dividing 284 by 389, we get 0 with a remainder of 284.
Put 0 as the next digit of the answer. 
Result so far: 80.0
Subtracting 0 from 284 leaves us with 284.
Take the next digit (1) from the dividend and append it to 284, then repeat: 2841 / 389

Advancing to step 6:
389 goes into 2841 7 times with a remainder of 118.
The next digit of our result is 7. 
Result so far: 807.0
The remainder is 118 after subtracting 2723 from 2841.
Append the next digit (6) from the dividend to 118 and continue with: 1186 / 389

Step 7:
When dividing 1186 by 389, we get 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 8073.0
If we take 1167 away from 1186, we end up with 19.
Fetch the next digit (3) from the dividend, attach it to 19 and continue: 193 / 389

Advancing to step 8:
If we divide 193 by 389, we get 0 and a remainder of 193.
Put 0 as the next digit of the answer. 
Result so far: 80730.0
Subtract 0 from 193 to get 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

On to step 9:
When dividing 1930 by 389, we get 4 with a remainder of 374.
Use 4 as the next digit of our solution. 
Result so far: 80730.4
If we subtract 1556 from 1930, we get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Going ahead to step 10:
389 goes into 3740 9 times with a remainder of 239.
The number 9 becomes the next digit in our result. 
Result so far: 80730.49
If we subtract 3501 from 3740, we get 239.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2390, and continue the process.

On to step 11:
389 goes into 2390 6 times with a remainder of 56.
The next digit of our result is 6. 
Result so far: 80730.496
The remainder is 56 after subtracting 2334 from 2390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 12:
The number 389 fits into 560 1 times, leaving a remainder of 171.
Record the quotient 1 as the next digit in the result. 
Result so far: 80730.4961
Subtract 389 from 560 to get 171.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1710, and continue the process.

Going ahead to step 13:
389 can be fit into 1710 4 times, resulting in a remainder of 154.
The next digit of our result is 4. 
Result so far: 80730.49614
Subtract 1556 from 1710 to get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Moving on to step 14:
1540 divided by 389 is 3 with a remainder of 373.
Use 3 as the next digit of our solution. 
Result so far: 80730.496143
Subtracting 1167 from 1540 leaves us with 373.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3730, and continue the process.

Moving on to step 15:
If we divide 3730 by 389, we get 9 and a remainder of 229.
Record the quotient 9 as the next digit in the result. 
Result so far: 80730.4961439
If we take 3501 away from 3730, we end up with 229.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2290, and continue the process.

On to step 16:
When dividing 2290 by 389, we get 5 with a remainder of 345.
Put 5 as the next digit of the answer. 
Result so far: 80730.49614395
If we take 1945 away from 2290, we end up with 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

After the division, we end up with 80730.49614395 and a remainder of 3.45e-07.