39858709 ÷ 506 
Our goal is to divide 39858709 by 506.

Going ahead to step 1:
The number 506 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 506

Advancing to step 2:
39 divided by 506 is 0 with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 506

Advancing to step 3:
When dividing 398 by 506, we get 0 with a remainder of 398.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 398, we end up with 398.
Take the next digit (5) from the dividend and append it to 398, then repeat: 3985 / 506

Going ahead to step 4:
506 can be fit into 3985 7 times, resulting in a remainder of 443.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we take 3542 away from 3985, we end up with 443.
Fetch the next digit (8) from the dividend, attach it to 443 and continue: 4438 / 506

Let's proceed to step 5:
506 can be fit into 4438 8 times, resulting in a remainder of 390.
Put 8 as the next digit of the answer. 
Result so far: 78.0
If we subtract 4048 from 4438, we get 390.
Fetch the next digit (7) from the dividend, attach it to 390 and continue: 3907 / 506

Going ahead to step 6:
The number 506 fits into 3907 7 times, leaving a remainder of 365.
Write down 7 as next digit of the result. 
Result so far: 787.0
If we subtract 3542 from 3907, we get 365.
Grab the next digit (0) from the dividend, add it to 365, then carry on: 3650 / 506

Let's proceed to step 7:
3650 divided by 506 is 7 with a remainder of 108.
Use 7 as the next digit of our solution. 
Result so far: 7877.0
Subtracting 3542 from 3650 leaves us with 108.
Grab the next digit (9) from the dividend, add it to 108, then carry on: 1089 / 506

Step 8:
When dividing 1089 by 506, we get 2 with a remainder of 77.
The next digit of our result is 2. 
Result so far: 78772.0
Subtracting 1012 from 1089 leaves us with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Let's proceed to step 9:
If we divide 770 by 506, we get 1 and a remainder of 264.
Use 1 as the next digit of our solution. 
Result so far: 78772.1
If we take 506 away from 770, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Step 10:
2640 divided by 506 is 5 with a remainder of 110.
Put 5 as the next digit of the answer. 
Result so far: 78772.15
If we subtract 2530 from 2640, we get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 11:
The number 506 fits into 1100 2 times, leaving a remainder of 88.
Write down 2 as next digit of the result. 
Result so far: 78772.152
Deduct 1012 from 1100 and we're left with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Moving on to step 12:
When dividing 880 by 506, we get 1 with a remainder of 374.
The number 1 becomes the next digit in our result. 
Result so far: 78772.1521
Deduct 506 from 880 and we're left with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Step 13:
If we divide 3740 by 506, we get 7 and a remainder of 198.
Use 7 as the next digit of our solution. 
Result so far: 78772.15217
Deduct 3542 from 3740 and we're left with 198.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Advancing to step 14:
If we divide 1980 by 506, we get 3 and a remainder of 462.
Put 3 as the next digit of the answer. 
Result so far: 78772.152173
The remainder is 462 after subtracting 1518 from 1980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Step 15:
If we divide 4620 by 506, we get 9 and a remainder of 66.
Write down 9 as next digit of the result. 
Result so far: 78772.1521739
The remainder is 66 after subtracting 4554 from 4620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 16:
If we divide 660 by 506, we get 1 and a remainder of 154.
Put 1 as the next digit of the answer. 
Result so far: 78772.15217391
The remainder is 154 after subtracting 506 from 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

The quotient of the division is 78772.15217391, and the remainder is 1.54e-07.