507782 ÷ 39 
We're looking to find how many times 39 goes into 507782.

Moving on to step 1:
5 divided by 39 is 0 with 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.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 39

On to step 2:
39 can be fit into 50 1 times, resulting in a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 39 away from 50, we end up with 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 39

Let's proceed to step 3:
If we divide 117 by 39, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Deduct 117 from 117 and we're left with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 39

Let's proceed to step 4:
7 divided by 39 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 130.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 39

Let's proceed to step 5:
39 can be fit into 78 2 times, resulting in a remainder of 0.
The next digit of our result is 2. 
Result so far: 1302.0
The remainder is 0 after subtracting 78 from 78.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 39

On to step 6:
2 divided by 39 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 13020.0
Deduct 0 from 2 and we're left 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.

Let's proceed to step 7:
39 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 13020.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
200 divided by 39 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 13020.05
Subtracting 195 from 200 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
The number 39 fits into 50 1 times, leaving a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 13020.051
If we subtract 39 from 50, we 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.

Going ahead to step 10:
39 goes into 110 2 times with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 13020.0512
Deduct 78 from 110 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 11:
320 divided by 39 is 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 13020.05128
Deduct 312 from 320 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.

Advancing to step 12:
39 goes into 80 2 times with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 13020.051282
Deduct 78 from 80 and we're left 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.

Going ahead to step 13:
The number 39 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 13020.051282
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
39 goes into 200 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 13020.05128205
The remainder is 5 after subtracting 195 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 13020.05128205 with a remaining 5e-09.