We look at the division of 580669 by 31 
Our goal is to divide 580669 by 31.

Let's proceed to step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 31

Moving on to step 2:
If we divide 58 by 31, we get 1 and a remainder of 27.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 31 from 58 leaves us with 27.
Fetch the next digit (0) from the dividend, attach it to 27 and continue: 270 / 31

Let's proceed to step 3:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we take 248 away from 270, we end up with 22.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 31

Step 4:
31 goes into 226 7 times with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 187.0
If we subtract 217 from 226, we get 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 31

Advancing to step 5:
96 divided by 31 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 1873.0
Subtract 93 from 96 to get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 31

Advancing to step 6:
39 divided by 31 is 1 with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 18731.0
Subtract 31 from 39 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.

On to step 7:
If we divide 80 by 31, we get 2 and a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 18731.2
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
180 divided by 31 is 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 18731.25
Subtracting 155 from 180 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 9:
31 goes into 250 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 18731.258
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
31 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 18731.258
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 11:
200 divided by 31 is 6 with a remainder of 14.
The next digit of our result is 6. 
Result so far: 18731.25806
Subtract 186 from 200 to 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 12:
140 divided by 31 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 18731.258064
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 13:
160 divided by 31 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 18731.2580645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 14:
When dividing 50 by 31, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 18731.25806451
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.

The final outcome is 18731.25806451, with a leftover of 1.9e-08.