78589 ÷ 31 
We want to divide 78589 by 31.

Advancing to step 1:
31 goes into 7 0 times with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 31

Moving on to step 2:
If we divide 78 by 31, we get 2 and a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 62 away from 78, we end up with 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 31

On to step 3:
31 goes into 165 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
If we take 155 away from 165, we end up with 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 31

Going ahead to step 4:
108 divided by 31 is 3 with a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 253.0
Subtract 93 from 108 to get 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 31

Advancing to step 5:
If we divide 159 by 31, we get 5 and a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 2535.0
Subtract 155 from 159 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 6:
If we divide 40 by 31, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 2535.1
If we subtract 31 from 40, we 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.

Step 7:
90 divided by 31 is 2 with a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 2535.12
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.

Let's proceed to step 8:
If we divide 280 by 31, we get 9 and a remainder of 1.
The next digit of our result is 9. 
Result so far: 2535.129
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 9:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 2535.129
If we subtract 0 from 10, we get 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 10:
When dividing 100 by 31, we get 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 2535.12903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 11:
70 divided by 31 is 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 2535.129032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 2535.1290322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 2535.1290322 with a remainder of 1.8e-07.