We divide 39805996 by 777
We want to divide 39805996 by 777.

Let's proceed to step 1:
777 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 777

On to step 2:
777 goes into 39 0 times with a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 777

Advancing to step 3:
777 can be fit into 398 0 times, resulting in a remainder of 398.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 398 after subtracting 0 from 398.
Fetch the next digit (0) from the dividend, attach it to 398 and continue: 3980 / 777

Step 4:
The number 777 fits into 3980 5 times, leaving a remainder of 95.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 3885 from 3980 and we're left with 95.
Fetch the next digit (5) from the dividend, attach it to 95 and continue: 955 / 777

Let's proceed to step 5:
When dividing 955 by 777, we get 1 with a remainder of 178.
The number 1 becomes the next digit in our result. 
Result so far: 51.0
If we take 777 away from 955, we end up with 178.
Grab the next digit (9) from the dividend, add it to 178, then carry on: 1789 / 777

Going ahead to step 6:
777 can be fit into 1789 2 times, resulting in a remainder of 235.
The next digit of our result is 2. 
Result so far: 512.0
The remainder is 235 after subtracting 1554 from 1789.
Append the next digit (9) from the dividend to 235 and continue with: 2359 / 777

Step 7:
The number 777 fits into 2359 3 times, leaving a remainder of 28.
Record the quotient 3 as the next digit in the result. 
Result so far: 5123.0
Subtracting 2331 from 2359 leaves us with 28.
Take the next digit (6) from the dividend and append it to 28, then repeat: 286 / 777

Step 8:
777 goes into 286 0 times with a remainder of 286.
Write down 0 as next digit of the result. 
Result so far: 51230.0
Subtracting 0 from 286 leaves us with 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

Let's proceed to step 9:
When dividing 2860 by 777, we get 3 with a remainder of 529.
Use 3 as the next digit of our solution. 
Result so far: 51230.3
Deduct 2331 from 2860 and we're left with 529.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Moving on to step 10:
If we divide 5290 by 777, we get 6 and a remainder of 628.
Put 6 as the next digit of the answer. 
Result so far: 51230.36
If we subtract 4662 from 5290, we get 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

Let's proceed to step 11:
777 can be fit into 6280 8 times, resulting in a remainder of 64.
Put 8 as the next digit of the answer. 
Result so far: 51230.368
Deduct 6216 from 6280 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 12:
When dividing 640 by 777, we get 0 with a remainder of 640.
The number 0 becomes the next digit in our result. 
Result so far: 51230.368
Deduct 0 from 640 and we're left with 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Step 13:
777 goes into 6400 8 times with a remainder of 184.
Use 8 as the next digit of our solution. 
Result so far: 51230.36808
Subtracting 6216 from 6400 leaves us with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Step 14:
777 goes into 1840 2 times with a remainder of 286.
The number 2 becomes the next digit in our result. 
Result so far: 51230.368082
Subtract 1554 from 1840 to get 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

On to step 15:
777 can be fit into 2860 3 times, resulting in a remainder of 529.
The number 3 becomes the next digit in our result. 
Result so far: 51230.3680823
Deduct 2331 from 2860 and we're left with 529.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5290, and continue the process.

Step 16:
777 goes into 5290 6 times with a remainder of 628.
Use 6 as the next digit of our solution. 
Result so far: 51230.36808236
If we take 4662 away from 5290, we end up with 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

The final outcome is 51230.36808236, with a leftover of 6.28e-07.