40626976 divided by 777 
Let's see how many times 777 fits into 40626976.

On to step 1:
If we divide 4 by 777, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 777

Let's proceed to step 2:
The number 777 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (6) from the dividend and append it to 40, then repeat: 406 / 777

On to step 3:
The number 777 fits into 406 0 times, leaving a remainder of 406.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 406, we end up with 406.
Take the next digit (2) from the dividend and append it to 406, then repeat: 4062 / 777

On to step 4:
777 goes into 4062 5 times with a remainder of 177.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 3885 from 4062 to get 177.
Include the next digit (6) from the dividend after 177, then repeat: 1776 / 777

Step 5:
If we divide 1776 by 777, we get 2 and a remainder of 222.
The next digit of our result is 2. 
Result so far: 52.0
Subtracting 1554 from 1776 leaves us with 222.
Include the next digit (9) from the dividend after 222, then repeat: 2229 / 777

Step 6:
777 goes into 2229 2 times with a remainder of 675.
Record the quotient 2 as the next digit in the result. 
Result so far: 522.0
Deduct 1554 from 2229 and we're left with 675.
Include the next digit (7) from the dividend after 675, then repeat: 6757 / 777

Step 7:
The number 777 fits into 6757 8 times, leaving a remainder of 541.
Write down 8 as next digit of the result. 
Result so far: 5228.0
Deduct 6216 from 6757 and we're left with 541.
Bring next digit (6) of the dividend behind the 541 and repeat the process: 5416 / 777

Going ahead to step 8:
If we divide 5416 by 777, we get 6 and a remainder of 754.
Record the quotient 6 as the next digit in the result. 
Result so far: 52286.0
Subtract 4662 from 5416 to get 754.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7540, and continue the process.

Moving on to step 9:
777 goes into 7540 9 times with a remainder of 547.
Write down 9 as next digit of the result. 
Result so far: 52286.9
Subtracting 6993 from 7540 leaves us with 547.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5470, and continue the process.

On to step 10:
When dividing 5470 by 777, we get 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 52286.97
The remainder is 31 after subtracting 5439 from 5470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 11:
If we divide 310 by 777, we get 0 and a remainder of 310.
Use 0 as the next digit of our solution. 
Result so far: 52286.97
If we subtract 0 from 310, we get 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Going ahead to step 12:
The number 777 fits into 3100 3 times, leaving a remainder of 769.
Write down 3 as next digit of the result. 
Result so far: 52286.9703
Deduct 2331 from 3100 and we're left with 769.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7690, and continue the process.

Going ahead to step 13:
777 goes into 7690 9 times with a remainder of 697.
The next digit of our result is 9. 
Result so far: 52286.97039
Subtract 6993 from 7690 to get 697.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6970, and continue the process.

On to step 14:
6970 divided by 777 is 8 with a remainder of 754.
The number 8 becomes the next digit in our result. 
Result so far: 52286.970398
Subtract 6216 from 6970 to get 754.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7540, and continue the process.

Let's proceed to step 15:
When dividing 7540 by 777, we get 9 with a remainder of 547.
Put 9 as the next digit of the answer. 
Result so far: 52286.9703989
Deduct 6993 from 7540 and we're left with 547.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5470, and continue the process.

Going ahead to step 16:
777 can be fit into 5470 7 times, resulting in a remainder of 31.
Write down 7 as next digit of the result. 
Result so far: 52286.97039897
If we subtract 5439 from 5470, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The quotient of the division is 52286.97039897, and the remainder is 3.1e-08.