Let's divide 513085 by 39
We're looking to find how many times 39 goes into 513085.

Advancing to step 1:
The number 39 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 39

Let's proceed to step 2:
39 goes into 51 1 times with a remainder of 12.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 12 after subtracting 39 from 51.
Grab the next digit (3) from the dividend, add it to 12, then carry on: 123 / 39

Step 3:
When dividing 123 by 39, we get 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we take 117 away from 123, we end up with 6.
Take the next digit (0) from the dividend and append it to 6, then repeat: 60 / 39

Step 4:
The number 39 fits into 60 1 times, leaving a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 131.0
Deduct 39 from 60 and we're left with 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 39

Step 5:
39 can be fit into 218 5 times, resulting in a remainder of 23.
Put 5 as the next digit of the answer. 
Result so far: 1315.0
Subtracting 195 from 218 leaves us with 23.
Take the next digit (5) from the dividend and append it to 23, then repeat: 235 / 39

Advancing to step 6:
235 divided by 39 is 6 with a remainder of 1.
The next digit of our result is 6. 
Result so far: 13156.0
Deduct 234 from 235 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.

On to step 7:
When dividing 10 by 39, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 13156.0
The remainder is 10 after subtracting 0 from 10.
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 8:
39 goes into 100 2 times with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 13156.02
Subtract 78 from 100 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 9:
If we divide 220 by 39, we get 5 and a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 13156.025
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 10:
If we divide 250 by 39, we get 6 and a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 13156.0256
Subtract 234 from 250 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 11:
160 divided by 39 is 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 13156.02564
Subtract 156 from 160 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 12:
The number 39 fits into 40 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 13156.025641
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.

Step 13:
39 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: 13156.025641
Deduct 0 from 10 and we're left 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.

On to step 14:
The number 39 fits into 100 2 times, leaving a remainder of 22.
The next digit of our result is 2. 
Result so far: 13156.02564102
If we subtract 78 from 100, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 13156.02564102 with a remaining 2.2e-08.