Let's divide 511235 by 13
We want to divide 511235 by 13.

Going ahead to step 1:
If we divide 5 by 13, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 13

Moving on to step 2:
If we divide 51 by 13, we get 3 and a remainder of 12.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 39 from 51 to get 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 13

Let's proceed to step 3:
If we divide 121 by 13, we get 9 and a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we take 117 away from 121, we end up with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 13

Moving on to step 4:
The number 13 fits into 42 3 times, leaving a remainder of 3.
The next digit of our result is 3. 
Result so far: 393.0
Subtract 39 from 42 to get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 13

On to step 5:
If we divide 33 by 13, we get 2 and a remainder of 7.
The next digit of our result is 2. 
Result so far: 3932.0
Subtracting 26 from 33 leaves us with 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 13

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

Going ahead to step 7:
If we divide 100 by 13, we get 7 and a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 39325.7
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 8:
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: 39325.76
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.

Step 9:
120 divided by 13 is 9 with a remainder of 3.
The next digit of our result is 9. 
Result so far: 39325.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.

Going ahead to step 10:
30 divided by 13 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 39325.7692
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.

On to step 11:
When dividing 40 by 13, we get 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 39325.76923
Deduct 39 from 40 and we're left 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:
13 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 39325.76923
If we take 0 away from 10, we end up 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 next digit of our result is 7. 
Result so far: 39325.7692307
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.

Going ahead to step 14:
When dividing 90 by 13, we get 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 39325.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.

The final outcome is 39325.76923076, with a leftover of 1.2e-08.