We're dividing 512035 by 13 
We want to divide 512035 by 13.

On to step 1:
13 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 13

Going ahead to step 2:
13 goes into 51 3 times with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 39 from 51 and we're left with 12.
Grab the next digit (2) from the dividend, add it to 12, then carry on: 122 / 13

Let's proceed to step 3:
13 goes into 122 9 times with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtract 117 from 122 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 13

Moving on to step 4:
13 can be fit into 50 3 times, resulting in a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 393.0
If we take 39 away from 50, we end up with 11.
Take the next digit (3) from the dividend and append it to 11, then repeat: 113 / 13

Let's proceed to step 5:
When dividing 113 by 13, we get 8 with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 3938.0
Subtracting 104 from 113 leaves us with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 13

Moving on to step 6:
If we divide 95 by 13, we get 7 and a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 39387.0
If we subtract 91 from 95, 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.

Moving on to step 7:
The number 13 fits into 40 3 times, leaving a remainder of 1.
The next digit of our result is 3. 
Result so far: 39387.3
Subtracting 39 from 40 leaves us 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.

Let's proceed to step 8:
If we divide 10 by 13, we get 0 and a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 39387.3
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 9:
13 can be fit into 100 7 times, resulting in a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 39387.307
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.

Step 10:
If we divide 90 by 13, we get 6 and a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 39387.3076
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.

Moving on to step 11:
13 can be fit into 120 9 times, resulting in a remainder of 3.
The next digit of our result is 9. 
Result so far: 39387.30769
Deduct 117 from 120 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
13 goes into 30 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 39387.307692
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.

Step 13:
13 goes into 40 3 times with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 39387.3076923
Subtract 39 from 40 to 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.

On to step 14:
13 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 39387.3076923
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.

The final result is 39387.3076923 with a remainder of 1e-08.