39777123 ÷ 507 
We want to divide 39777123 by 507.

Advancing to step 1:
507 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 507

Going ahead to step 2:
507 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 507

Moving on to step 3:
507 goes into 397 0 times with a remainder of 397.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 397, we get 397.
Fetch the next digit (7) from the dividend, attach it to 397 and continue: 3977 / 507

Step 4:
507 can be fit into 3977 7 times, resulting in a remainder of 428.
Use 7 as the next digit of our solution. 
Result so far: 7.0
The remainder is 428 after subtracting 3549 from 3977.
Take the next digit (7) from the dividend and append it to 428, then repeat: 4287 / 507

Going ahead to step 5:
When dividing 4287 by 507, we get 8 with a remainder of 231.
Put 8 as the next digit of the answer. 
Result so far: 78.0
Subtracting 4056 from 4287 leaves us with 231.
Take the next digit (1) from the dividend and append it to 231, then repeat: 2311 / 507

Going ahead to step 6:
507 goes into 2311 4 times with a remainder of 283.
Write down 4 as next digit of the result. 
Result so far: 784.0
Subtracting 2028 from 2311 leaves us with 283.
Append the next digit (2) from the dividend to 283 and continue with: 2832 / 507

Going ahead to step 7:
507 goes into 2832 5 times with a remainder of 297.
Write down 5 as next digit of the result. 
Result so far: 7845.0
If we subtract 2535 from 2832, we get 297.
Include the next digit (3) from the dividend after 297, then repeat: 2973 / 507

Advancing to step 8:
507 goes into 2973 5 times with a remainder of 438.
Put 5 as the next digit of the answer. 
Result so far: 78455.0
The remainder is 438 after subtracting 2535 from 2973.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Going ahead to step 9:
The number 507 fits into 4380 8 times, leaving a remainder of 324.
Use 8 as the next digit of our solution. 
Result so far: 78455.8
The remainder is 324 after subtracting 4056 from 4380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

On to step 10:
The number 507 fits into 3240 6 times, leaving a remainder of 198.
The number 6 becomes the next digit in our result. 
Result so far: 78455.86
Subtracting 3042 from 3240 leaves us 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.

Going ahead to step 11:
1980 divided by 507 is 3 with a remainder of 459.
Use 3 as the next digit of our solution. 
Result so far: 78455.863
If we subtract 1521 from 1980, we get 459.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4590, and continue the process.

On to step 12:
507 goes into 4590 9 times with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 78455.8639
If we take 4563 away from 4590, 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.

Advancing to step 13:
The number 507 fits into 270 0 times, leaving a remainder of 270.
The next digit of our result is 0. 
Result so far: 78455.8639
The remainder is 270 after subtracting 0 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Let's proceed to step 14:
When dividing 2700 by 507, we get 5 with a remainder of 165.
The next digit of our result is 5. 
Result so far: 78455.863905
Subtract 2535 from 2700 to get 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Moving on to step 15:
When dividing 1650 by 507, we get 3 with a remainder of 129.
Use 3 as the next digit of our solution. 
Result so far: 78455.8639053
The remainder is 129 after subtracting 1521 from 1650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Moving on to step 16:
If we divide 1290 by 507, we get 2 and a remainder of 276.
Write down 2 as next digit of the result. 
Result so far: 78455.86390532
If we subtract 1014 from 1290, we get 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

The final outcome is 78455.86390532, with a leftover of 2.76e-07.