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

Advancing to step 1:
When dividing 5 by 13, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 13

Let's proceed to step 2:
13 goes into 50 3 times with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 39 away from 50, we end up with 11.
Append the next digit (6) from the dividend to 11 and continue with: 116 / 13

Advancing to step 3:
If we divide 116 by 13, we get 8 and a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
Subtract 104 from 116 to get 12.
Fetch the next digit (3) from the dividend, attach it to 12 and continue: 123 / 13

Let's proceed to step 4:
13 can be fit into 123 9 times, resulting in a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 389.0
The remainder is 6 after subtracting 117 from 123.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 13

Let's proceed to step 5:
68 divided by 13 is 5 with a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 3895.0
If we subtract 65 from 68, we get 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 13

Advancing to step 6:
When dividing 36 by 13, we get 2 with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 38952.0
If we subtract 26 from 36, we 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.

Step 7:
The number 13 fits into 100 7 times, leaving a remainder of 9.
The next digit of our result is 7. 
Result so far: 38952.7
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 8:
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: 38952.76
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.

Advancing to step 9:
120 divided by 13 is 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 38952.769
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.

Step 10:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 38952.7692
If we subtract 26 from 30, we 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 11:
13 goes into 40 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 38952.76923
If we take 39 away from 40, we end up 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.

Step 12:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 38952.76923
If we subtract 0 from 10, we 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 13:
When dividing 100 by 13, we get 7 with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 38952.7692307
The remainder is 9 after subtracting 91 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 14:
If we divide 90 by 13, we get 6 and a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 38952.76923076
The remainder is 12 after subtracting 78 from 90.
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 38952.76923076 with a balance of 1.2e-08.