We're dividing 579970 by 31 
We're looking to find how many times 31 goes into 579970.

Going ahead to step 1:
5 divided by 31 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 31

Let's proceed to step 2:
The number 31 fits into 57 1 times, leaving a remainder of 26.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 57 and we're left with 26.
Append the next digit (9) from the dividend to 26 and continue with: 269 / 31

Step 3:
When dividing 269 by 31, we get 8 with a remainder of 21.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we take 248 away from 269, we end up with 21.
Bring next digit (9) of the dividend behind the 21 and repeat the process: 219 / 31

On to step 4:
31 goes into 219 7 times with a remainder of 2.
The next digit of our result is 7. 
Result so far: 187.0
Deduct 217 from 219 and we're left with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 31

Moving on to step 5:
31 goes into 27 0 times with a remainder of 27.
The next digit of our result is 0. 
Result so far: 1870.0
If we take 0 away from 27, we end up with 27.
Fetch the next digit (0) from the dividend, attach it to 27 and continue: 270 / 31

Going ahead to step 6:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 18708.0
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 7:
220 divided by 31 is 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 18708.7
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
If we divide 30 by 31, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 18708.7
Subtracting 0 from 30 leaves us 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.

Going ahead to step 9:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 18708.709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 10:
210 divided by 31 is 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 18708.7096
Subtract 186 from 210 to get 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 11:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 18708.70967
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 12:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 18708.709677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 18708.709677 with a balance of 1.3e-06.