580778 ÷ 13 
We want to figure out the number of times 580778 can be divided by 13.

Advancing to step 1:
The number 13 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 13

Going ahead to step 2:
The number 13 fits into 58 4 times, leaving a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 52 from 58, we get 6.
Take the next digit (0) from the dividend and append it to 6, then repeat: 60 / 13

Moving on to step 3:
60 divided by 13 is 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtract 52 from 60 to get 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 13

Step 4:
If we divide 87 by 13, we get 6 and a remainder of 9.
Put 6 as the next digit of the answer. 
Result so far: 446.0
Subtract 78 from 87 to get 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 13

Let's proceed to step 5:
When dividing 97 by 13, we get 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 4467.0
Subtracting 91 from 97 leaves us with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 13

Advancing to step 6:
13 can be fit into 68 5 times, resulting in a remainder of 3.
Write down 5 as next digit of the result. 
Result so far: 44675.0
The remainder is 3 after subtracting 65 from 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
If we divide 30 by 13, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 44675.2
Subtract 26 from 30 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.

Advancing to step 8:
The number 13 fits into 40 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 44675.23
The remainder is 1 after subtracting 39 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 9:
If we divide 10 by 13, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 44675.23
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
If we divide 100 by 13, we get 7 and a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 44675.2307
Subtract 91 from 100 to 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.

On to step 11:
When dividing 90 by 13, we get 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 44675.23076
Deduct 78 from 90 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 12:
The number 13 fits into 120 9 times, leaving a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 44675.230769
If we take 117 away from 120, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
30 divided by 13 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 44675.2307692
Subtract 26 from 30 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.

Going ahead to step 14:
If we divide 40 by 13, we get 3 and a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 44675.23076923
Subtracting 39 from 40 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

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