Let's divide 579950 by 31
We want to divide 579950 by 31.

On to step 1:
When dividing 5 by 31, we get 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.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 31

Moving on to step 2:
31 goes into 57 1 times with a remainder of 26.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 31 away from 57, we end up with 26.
Include the next digit (9) from the dividend after 26, then repeat: 269 / 31

Step 3:
The number 31 fits into 269 8 times, leaving a remainder of 21.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 248 from 269 to get 21.
Bring next digit (9) of the dividend behind the 21 and repeat the process: 219 / 31

Step 4:
31 can be fit into 219 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 187.0
Deduct 217 from 219 and we're left with 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 31

Step 5:
If we divide 25 by 31, we get 0 and a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 1870.0
The remainder is 25 after subtracting 0 from 25.
Fetch the next digit (0) from the dividend, attach it to 25 and continue: 250 / 31

Step 6:
31 can be fit into 250 8 times, resulting in a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 18708.0
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
20 divided by 31 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 18708.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
When dividing 200 by 31, we get 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 18708.06
If we subtract 186 from 200, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 18708.064
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 18708.0645
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.

Advancing to step 11:
When dividing 50 by 31, we get 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 18708.06451
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.

Step 12:
190 divided by 31 is 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 18708.064516
Subtract 186 from 190 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 13:
31 can be fit into 40 1 times, resulting in a remainder of 9.
The next digit of our result is 1. 
Result so far: 18708.0645161
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.

Moving on to step 14:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The next digit of our result is 2. 
Result so far: 18708.06451612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 18708.06451612, and the remainder is 2.8e-08.