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

Moving on to step 1:
If we divide 5 by 13, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 13

Let's proceed to step 2:
The number 13 fits into 51 3 times, leaving a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 39 away from 51, we end up with 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 13

Let's proceed to step 3:
13 goes into 121 9 times with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Subtracting 117 from 121 leaves us with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 13

Advancing to step 4:
13 goes into 42 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 393.0
Subtracting 39 from 42 leaves us with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 13

On to step 5:
If we divide 34 by 13, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 3932.0
Subtracting 26 from 34 leaves us with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 13

Advancing to step 6:
If we divide 86 by 13, we get 6 and a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 39326.0
If we subtract 78 from 86, we get 8.
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 7:
80 divided by 13 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 39326.6
Subtracting 78 from 80 leaves us 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.

Advancing to step 8:
When dividing 20 by 13, we get 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 39326.61
Subtract 13 from 20 to 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.

On to step 9:
13 can be fit into 70 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 39326.615
If we subtract 65 from 70, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 10:
13 goes into 50 3 times with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 39326.6153
Subtract 39 from 50 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 11:
110 divided by 13 is 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 39326.61538
Subtracting 104 from 110 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
If we divide 60 by 13, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 39326.615384
Deduct 52 from 60 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 13:
13 can be fit into 80 6 times, resulting in a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 39326.6153846
The remainder is 2 after subtracting 78 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 14:
The number 13 fits into 20 1 times, leaving a remainder of 7.
The next digit of our result is 1. 
Result so far: 39326.61538461
The remainder is 7 after subtracting 13 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

In conclusion, the division gives 39326.61538461 with a balance of 7e-09.