We're dividing 512799 by 13 
We're looking to find how many times 13 goes into 512799.

On to step 1:
13 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 13

On to step 2:
When dividing 51 by 13, we get 3 with a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 39 from 51 to get 12.
Fetch the next digit (2) from the dividend, attach it to 12 and continue: 122 / 13

Step 3:
13 can be fit into 122 9 times, resulting in a remainder of 5.
The next digit of our result is 9. 
Result so far: 39.0
Subtract 117 from 122 to get 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 13

Moving on to step 4:
13 can be fit into 57 4 times, resulting in a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 394.0
The remainder is 5 after subtracting 52 from 57.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 13

Going ahead to step 5:
13 can be fit into 59 4 times, resulting in a remainder of 7.
The number 4 becomes the next digit in our result. 
Result so far: 3944.0
If we take 52 away from 59, we end up with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 13

Going ahead to step 6:
13 can be fit into 79 6 times, resulting in a remainder of 1.
The next digit of our result is 6. 
Result so far: 39446.0
If we subtract 78 from 79, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
10 divided by 13 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 39446.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
If we divide 100 by 13, we get 7 and a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 39446.07
Deduct 91 from 100 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 9:
If we divide 90 by 13, we get 6 and a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 39446.076
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
If we divide 120 by 13, we get 9 and a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 39446.0769
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 11:
13 goes into 30 2 times with a remainder of 4.
The next digit of our result is 2. 
Result so far: 39446.07692
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.

Let's proceed to step 12:
13 can be fit into 40 3 times, resulting in a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 39446.076923
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.

On to step 13:
The number 13 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 39446.076923
Deduct 0 from 10 and we're left with 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 14:
100 divided by 13 is 7 with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 39446.07692307
If we take 91 away from 100, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

In conclusion, the division gives 39446.07692307 with a balance of 9e-09.