Let's divide 586796 by 13
We're looking to find how many times 13 goes into 586796.

On to step 1:
13 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 13

Step 2:
13 goes into 58 4 times with a remainder of 6.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 6 after subtracting 52 from 58.
Bring next digit (6) of the dividend behind the 6 and repeat the process: 66 / 13

On to step 3:
13 can be fit into 66 5 times, resulting in a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 45.0
If we take 65 away from 66, we end up with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 13

Advancing to step 4:
The number 13 fits into 17 1 times, leaving a remainder of 4.
The next digit of our result is 1. 
Result so far: 451.0
Deduct 13 from 17 and we're left with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 13

Moving on to step 5:
When dividing 49 by 13, we get 3 with a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 4513.0
Subtract 39 from 49 to get 10.
Grab the next digit (6) from the dividend, add it to 10, then carry on: 106 / 13

Going ahead to step 6:
13 goes into 106 8 times with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 45138.0
Deduct 104 from 106 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.

Going ahead to step 7:
20 divided by 13 is 1 with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 45138.1
Subtracting 13 from 20 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 8:
13 can be fit into 70 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 45138.15
Subtracting 65 from 70 leaves us with 5.
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 9:
13 can be fit into 50 3 times, resulting in a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 45138.153
Deduct 39 from 50 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

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

On to step 11:
60 divided by 13 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 45138.15384
The remainder is 8 after subtracting 52 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
13 can be fit into 80 6 times, resulting in a remainder of 2.
The next digit of our result is 6. 
Result so far: 45138.153846
If we take 78 away from 80, we end up 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.

Step 13:
When dividing 20 by 13, we get 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 45138.1538461
If we subtract 13 from 20, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 14:
13 goes into 70 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 45138.15384615
The remainder is 5 after subtracting 65 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

In conclusion, the division gives 45138.15384615 with a balance of 5e-09.