510778 ÷ 39 
Let's see how many times 39 fits into 510778.

Going ahead to step 1:
If we divide 5 by 39, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 39

Going ahead to step 2:
51 divided by 39 is 1 with a remainder of 12.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 39 from 51, we get 12.
Append the next digit (0) from the dividend to 12 and continue with: 120 / 39

On to step 3:
If we divide 120 by 39, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 13.0
If we subtract 117 from 120, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 39

Let's proceed to step 4:
When dividing 37 by 39, we get 0 with a remainder of 37.
Use 0 as the next digit of our solution. 
Result so far: 130.0
The remainder is 37 after subtracting 0 from 37.
Take the next digit (7) from the dividend and append it to 37, then repeat: 377 / 39

Let's proceed to step 5:
If we divide 377 by 39, we get 9 and a remainder of 26.
The next digit of our result is 9. 
Result so far: 1309.0
If we take 351 away from 377, we end up with 26.
Fetch the next digit (8) from the dividend, attach it to 26 and continue: 268 / 39

Advancing to step 6:
If we divide 268 by 39, we get 6 and a remainder of 34.
Write down 6 as next digit of the result. 
Result so far: 13096.0
Deduct 234 from 268 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
39 goes into 340 8 times with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 13096.8
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 8:
280 divided by 39 is 7 with a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 13096.87
The remainder is 7 after subtracting 273 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
If we divide 70 by 39, we get 1 and a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 13096.871
Subtract 39 from 70 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 10:
310 divided by 39 is 7 with a remainder of 37.
Use 7 as the next digit of our solution. 
Result so far: 13096.8717
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 11:
When dividing 370 by 39, we get 9 with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 13096.87179
Deduct 351 from 370 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 12:
39 can be fit into 190 4 times, resulting in a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 13096.871794
Subtracting 156 from 190 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 13:
The number 39 fits into 340 8 times, leaving a remainder of 28.
The next digit of our result is 8. 
Result so far: 13096.8717948
Deduct 312 from 340 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 14:
39 can be fit into 280 7 times, resulting in a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 13096.87179487
Subtracting 273 from 280 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Our division results in 13096.87179487 with a remaining 7e-09.