We're dividing 506691 by 39 
We want to figure out the number of times 506691 can be divided by 39.

Going ahead to step 1:
39 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 39

Moving on to step 2:
39 goes into 50 1 times with a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 39 from 50, we get 11.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 39

Advancing to step 3:
When dividing 116 by 39, we get 2 with a remainder of 38.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we take 78 away from 116, we end up with 38.
Fetch the next digit (6) from the dividend, attach it to 38 and continue: 386 / 39

Going ahead to step 4:
The number 39 fits into 386 9 times, leaving a remainder of 35.
The next digit of our result is 9. 
Result so far: 129.0
Subtracting 351 from 386 leaves us with 35.
Bring next digit (9) of the dividend behind the 35 and repeat the process: 359 / 39

Step 5:
The number 39 fits into 359 9 times, leaving a remainder of 8.
The number 9 becomes the next digit in our result. 
Result so far: 1299.0
Subtract 351 from 359 to get 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 39

Step 6:
39 goes into 81 2 times with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 12992.0
Deduct 78 from 81 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 7:
39 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 12992.0
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
300 divided by 39 is 7 with a remainder of 27.
Record the quotient 7 as the next digit in the result. 
Result so far: 12992.07
If we take 273 away from 300, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 9:
270 divided by 39 is 6 with a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 12992.076
If we take 234 away from 270, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 10:
39 goes into 360 9 times with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 12992.0769
The remainder is 9 after subtracting 351 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
39 goes into 90 2 times with a remainder of 12.
The next digit of our result is 2. 
Result so far: 12992.07692
Subtracting 78 from 90 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
39 goes into 120 3 times with a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 12992.076923
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 13:
39 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 12992.076923
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 14:
When dividing 300 by 39, we get 7 with a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 12992.07692307
Subtract 273 from 300 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

In conclusion, the division gives 12992.07692307 with a balance of 2.7e-08.