389593 ÷ 31 
We want to divide 389593 by 31.

Step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 31

On to step 2:
31 can be fit into 38 1 times, resulting in a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 31 from 38 leaves us with 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 31

Going ahead to step 3:
31 can be fit into 79 2 times, resulting in a remainder of 17.
The next digit of our result is 2. 
Result so far: 12.0
Subtracting 62 from 79 leaves us with 17.
Append the next digit (5) from the dividend to 17 and continue with: 175 / 31

Advancing to step 4:
175 divided by 31 is 5 with a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 125.0
If we subtract 155 from 175, we get 20.
Bring next digit (9) of the dividend behind the 20 and repeat the process: 209 / 31

Going ahead to step 5:
If we divide 209 by 31, we get 6 and a remainder of 23.
The next digit of our result is 6. 
Result so far: 1256.0
If we take 186 away from 209, we end up with 23.
Take the next digit (3) from the dividend and append it to 23, then repeat: 233 / 31

Moving on to step 6:
233 divided by 31 is 7 with a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 12567.0
If we take 217 away from 233, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
31 goes into 160 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 12567.5
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
When dividing 50 by 31, we get 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 12567.51
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
31 goes into 190 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 12567.516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 10:
40 divided by 31 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 12567.5161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
When dividing 90 by 31, we get 2 with a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 12567.51612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
280 divided by 31 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 12567.516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 12567.516129
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
If we divide 100 by 31, we get 3 and a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 12567.51612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

In conclusion, the division gives 12567.51612903 with a balance of 7e-09.