We look at the division of 5221879 by 580 
Let's see how many times 580 fits into 5221879.

Going ahead to step 1:
If we divide 5 by 580, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 580

Moving on to step 2:
580 goes into 52 0 times with a remainder of 52.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 52, we end up with 52.
Bring next digit (2) of the dividend behind the 52 and repeat the process: 522 / 580

Advancing to step 3:
580 goes into 522 0 times with a remainder of 522.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 522 to get 522.
Fetch the next digit (1) from the dividend, attach it to 522 and continue: 5221 / 580

Step 4:
580 can be fit into 5221 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 9.0
The remainder is 1 after subtracting 5220 from 5221.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 580

Going ahead to step 5:
580 goes into 18 0 times with a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 90.0
Subtracting 0 from 18 leaves us with 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 580

Let's proceed to step 6:
When dividing 187 by 580, we get 0 with a remainder of 187.
Put 0 as the next digit of the answer. 
Result so far: 900.0
The remainder is 187 after subtracting 0 from 187.
Bring next digit (9) of the dividend behind the 187 and repeat the process: 1879 / 580

Advancing to step 7:
1879 divided by 580 is 3 with a remainder of 139.
The next digit of our result is 3. 
Result so far: 9003.0
Deduct 1740 from 1879 and we're left with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Step 8:
The number 580 fits into 1390 2 times, leaving a remainder of 230.
Use 2 as the next digit of our solution. 
Result so far: 9003.2
Subtracting 1160 from 1390 leaves us with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Let's proceed to step 9:
580 can be fit into 2300 3 times, resulting in a remainder of 560.
Record the quotient 3 as the next digit in the result. 
Result so far: 9003.23
Subtracting 1740 from 2300 leaves us with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Advancing to step 10:
580 goes into 5600 9 times with a remainder of 380.
Record the quotient 9 as the next digit in the result. 
Result so far: 9003.239
Deduct 5220 from 5600 and we're left with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Let's proceed to step 11:
When dividing 3800 by 580, we get 6 with a remainder of 320.
Use 6 as the next digit of our solution. 
Result so far: 9003.2396
If we take 3480 away from 3800, we end up with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Let's proceed to step 12:
580 can be fit into 3200 5 times, resulting in a remainder of 300.
Record the quotient 5 as the next digit in the result. 
Result so far: 9003.23965
If we subtract 2900 from 3200, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Advancing to step 13:
When dividing 3000 by 580, we get 5 with a remainder of 100.
Put 5 as the next digit of the answer. 
Result so far: 9003.239655
Subtract 2900 from 3000 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

After the division, we end up with 9003.239655 and a remainder of 1e-05.