We look at the division of 31678258 by 589 
Our goal is to divide 31678258 by 589.

On to step 1:
When dividing 3 by 589, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 589

Moving on to step 2:
When dividing 31 by 589, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Grab the next digit (6) from the dividend, add it to 31, then carry on: 316 / 589

Step 3:
When dividing 316 by 589, we get 0 with a remainder of 316.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 316, we get 316.
Bring next digit (7) of the dividend behind the 316 and repeat the process: 3167 / 589

Advancing to step 4:
589 can be fit into 3167 5 times, resulting in a remainder of 222.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 2945 from 3167, we get 222.
Take the next digit (8) from the dividend and append it to 222, then repeat: 2228 / 589

On to step 5:
2228 divided by 589 is 3 with a remainder of 461.
Record the quotient 3 as the next digit in the result. 
Result so far: 53.0
Subtract 1767 from 2228 to get 461.
Take the next digit (2) from the dividend and append it to 461, then repeat: 4612 / 589

Let's proceed to step 6:
4612 divided by 589 is 7 with a remainder of 489.
The next digit of our result is 7. 
Result so far: 537.0
Subtracting 4123 from 4612 leaves us with 489.
Include the next digit (5) from the dividend after 489, then repeat: 4895 / 589

Step 7:
The number 589 fits into 4895 8 times, leaving a remainder of 183.
The next digit of our result is 8. 
Result so far: 5378.0
Subtracting 4712 from 4895 leaves us with 183.
Append the next digit (8) from the dividend to 183 and continue with: 1838 / 589

On to step 8:
If we divide 1838 by 589, we get 3 and a remainder of 71.
Use 3 as the next digit of our solution. 
Result so far: 53783.0
Subtract 1767 from 1838 to get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Going ahead to step 9:
589 goes into 710 1 times with a remainder of 121.
The next digit of our result is 1. 
Result so far: 53783.1
If we take 589 away from 710, we end up with 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

Advancing to step 10:
When dividing 1210 by 589, we get 2 with a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 53783.12
Deduct 1178 from 1210 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 11:
The number 589 fits into 320 0 times, leaving a remainder of 320.
Write down 0 as next digit of the result. 
Result so far: 53783.12
If we subtract 0 from 320, we get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Moving on to step 12:
589 goes into 3200 5 times with a remainder of 255.
The number 5 becomes the next digit in our result. 
Result so far: 53783.1205
Subtracting 2945 from 3200 leaves us with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Step 13:
2550 divided by 589 is 4 with a remainder of 194.
The number 4 becomes the next digit in our result. 
Result so far: 53783.12054
Subtracting 2356 from 2550 leaves us with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Let's proceed to step 14:
The number 589 fits into 1940 3 times, leaving a remainder of 173.
Use 3 as the next digit of our solution. 
Result so far: 53783.120543
Subtracting 1767 from 1940 leaves us with 173.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1730, and continue the process.

Going ahead to step 15:
The number 589 fits into 1730 2 times, leaving a remainder of 552.
The next digit of our result is 2. 
Result so far: 53783.1205432
If we subtract 1178 from 1730, we get 552.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5520, and continue the process.

On to step 16:
5520 divided by 589 is 9 with a remainder of 219.
Put 9 as the next digit of the answer. 
Result so far: 53783.12054329
If we take 5301 away from 5520, we end up with 219.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2190, and continue the process.

The final outcome is 53783.12054329, with a leftover of 2.19e-07.