Let's divide 31179165 by 777
We're looking to find how many times 777 goes into 31179165.

Going ahead to step 1:
3 divided by 777 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 777

Advancing to step 2:
777 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Bring next digit (1) of the dividend behind the 31 and repeat the process: 311 / 777

On to step 3:
If we divide 311 by 777, we get 0 and a remainder of 311.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 311 leaves us with 311.
Take the next digit (7) from the dividend and append it to 311, then repeat: 3117 / 777

On to step 4:
3117 divided by 777 is 4 with a remainder of 9.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 3108 from 3117 and we're left with 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 777

Let's proceed to step 5:
The number 777 fits into 99 0 times, leaving a remainder of 99.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtract 0 from 99 to get 99.
Bring next digit (1) of the dividend behind the 99 and repeat the process: 991 / 777

On to step 6:
991 divided by 777 is 1 with a remainder of 214.
Write down 1 as next digit of the result. 
Result so far: 401.0
Deduct 777 from 991 and we're left with 214.
Include the next digit (6) from the dividend after 214, then repeat: 2146 / 777

Let's proceed to step 7:
The number 777 fits into 2146 2 times, leaving a remainder of 592.
Record the quotient 2 as the next digit in the result. 
Result so far: 4012.0
Subtract 1554 from 2146 to get 592.
Fetch the next digit (5) from the dividend, attach it to 592 and continue: 5925 / 777

Going ahead to step 8:
When dividing 5925 by 777, we get 7 with a remainder of 486.
Write down 7 as next digit of the result. 
Result so far: 40127.0
Subtract 5439 from 5925 to get 486.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4860, and continue the process.

Going ahead to step 9:
777 can be fit into 4860 6 times, resulting in a remainder of 198.
Use 6 as the next digit of our solution. 
Result so far: 40127.6
Subtract 4662 from 4860 to get 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 10:
777 goes into 1980 2 times with a remainder of 426.
Record the quotient 2 as the next digit in the result. 
Result so far: 40127.62
If we subtract 1554 from 1980, we get 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

Advancing to step 11:
The number 777 fits into 4260 5 times, leaving a remainder of 375.
Write down 5 as next digit of the result. 
Result so far: 40127.625
Deduct 3885 from 4260 and we're left with 375.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3750, and continue the process.

Step 12:
If we divide 3750 by 777, we get 4 and a remainder of 642.
Use 4 as the next digit of our solution. 
Result so far: 40127.6254
Subtracting 3108 from 3750 leaves us with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Step 13:
777 goes into 6420 8 times with a remainder of 204.
Put 8 as the next digit of the answer. 
Result so far: 40127.62548
Deduct 6216 from 6420 and we're left with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

On to step 14:
When dividing 2040 by 777, we get 2 with a remainder of 486.
The next digit of our result is 2. 
Result so far: 40127.625482
Subtracting 1554 from 2040 leaves us with 486.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4860, and continue the process.

Going ahead to step 15:
777 can be fit into 4860 6 times, resulting in a remainder of 198.
Put 6 as the next digit of the answer. 
Result so far: 40127.6254826
Subtracting 4662 from 4860 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 16:
The number 777 fits into 1980 2 times, leaving a remainder of 426.
The number 2 becomes the next digit in our result. 
Result so far: 40127.62548262
Subtract 1554 from 1980 to get 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

Our division results in 40127.62548262 with a remaining 4.26e-07.