We're dividing 39584895 by 777 
We want to divide 39584895 by 777.

Moving on to step 1:
777 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 777

Moving on to step 2:
39 divided by 777 is 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Append the next digit (5) from the dividend to 39 and continue with: 395 / 777

On to step 3:
When dividing 395 by 777, we get 0 with a remainder of 395.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 395 leaves us with 395.
Bring next digit (8) of the dividend behind the 395 and repeat the process: 3958 / 777

Let's proceed to step 4:
3958 divided by 777 is 5 with a remainder of 73.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
The remainder is 73 after subtracting 3885 from 3958.
Include the next digit (4) from the dividend after 73, then repeat: 734 / 777

Moving on to step 5:
The number 777 fits into 734 0 times, leaving a remainder of 734.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
If we subtract 0 from 734, we get 734.
Fetch the next digit (8) from the dividend, attach it to 734 and continue: 7348 / 777

Step 6:
777 can be fit into 7348 9 times, resulting in a remainder of 355.
Record the quotient 9 as the next digit in the result. 
Result so far: 509.0
The remainder is 355 after subtracting 6993 from 7348.
Append the next digit (9) from the dividend to 355 and continue with: 3559 / 777

On to step 7:
777 can be fit into 3559 4 times, resulting in a remainder of 451.
The next digit of our result is 4. 
Result so far: 5094.0
The remainder is 451 after subtracting 3108 from 3559.
Fetch the next digit (5) from the dividend, attach it to 451 and continue: 4515 / 777

Moving on to step 8:
When dividing 4515 by 777, we get 5 with a remainder of 630.
Record the quotient 5 as the next digit in the result. 
Result so far: 50945.0
Subtract 3885 from 4515 to get 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Moving on to step 9:
When dividing 6300 by 777, we get 8 with a remainder of 84.
Write down 8 as next digit of the result. 
Result so far: 50945.8
Deduct 6216 from 6300 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 10:
The number 777 fits into 840 1 times, leaving a remainder of 63.
Record the quotient 1 as the next digit in the result. 
Result so far: 50945.81
If we subtract 777 from 840, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Let's proceed to step 11:
630 divided by 777 is 0 with a remainder of 630.
The number 0 becomes the next digit in our result. 
Result so far: 50945.81
Deduct 0 from 630 and we're left with 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Let's proceed to step 12:
When dividing 6300 by 777, we get 8 with a remainder of 84.
Write down 8 as next digit of the result. 
Result so far: 50945.8108
The remainder is 84 after subtracting 6216 from 6300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 13:
If we divide 840 by 777, we get 1 and a remainder of 63.
Put 1 as the next digit of the answer. 
Result so far: 50945.81081
Subtracting 777 from 840 leaves us with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Advancing to step 14:
When dividing 630 by 777, we get 0 with a remainder of 630.
The next digit of our result is 0. 
Result so far: 50945.81081
The remainder is 630 after subtracting 0 from 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Going ahead to step 15:
If we divide 6300 by 777, we get 8 and a remainder of 84.
The next digit of our result is 8. 
Result so far: 50945.8108108
Deduct 6216 from 6300 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 16:
840 divided by 777 is 1 with a remainder of 63.
Record the quotient 1 as the next digit in the result. 
Result so far: 50945.81081081
If we take 777 away from 840, we end up with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

The quotient of the division is 50945.81081081, and the remainder is 6.3e-08.