We look at the division of 516474 by 13 
We want to figure out the number of times 516474 can be divided by 13.

Advancing to step 1:
13 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 13

Advancing to step 2:
51 divided by 13 is 3 with a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 12 after subtracting 39 from 51.
Fetch the next digit (6) from the dividend, attach it to 12 and continue: 126 / 13

Moving on to step 3:
13 goes into 126 9 times with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we take 117 away from 126, we end up with 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 13

On to step 4:
The number 13 fits into 94 7 times, leaving a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 397.0
Subtracting 91 from 94 leaves us with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 13

Moving on to step 5:
If we divide 37 by 13, we get 2 and a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 3972.0
Deduct 26 from 37 and we're left with 11.
Include the next digit (4) from the dividend after 11, then repeat: 114 / 13

Step 6:
If we divide 114 by 13, we get 8 and a remainder of 10.
The next digit of our result is 8. 
Result so far: 39728.0
Subtracting 104 from 114 leaves us 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.

Step 7:
The number 13 fits into 100 7 times, leaving a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 39728.7
Subtracting 91 from 100 leaves us 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.

Moving on to step 8:
When dividing 90 by 13, we get 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 39728.76
If we take 78 away from 90, we end up 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 9:
13 can be fit into 120 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 39728.769
Subtract 117 from 120 to 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.

Moving on to step 10:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 39728.7692
The remainder is 4 after subtracting 26 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 11:
When dividing 40 by 13, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 39728.76923
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 12:
13 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 39728.76923
Subtracting 0 from 10 leaves us 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.

Let's proceed to step 13:
100 divided by 13 is 7 with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 39728.7692307
If we subtract 91 from 100, we 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 14:
90 divided by 13 is 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 39728.76923076
If we subtract 78 from 90, we 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.

In conclusion, the division gives 39728.76923076 with a balance of 1.2e-08.