We divide 16585107 by 777
We want to figure out the number of times 16585107 can be divided by 777.

Moving on to step 1:
If we divide 1 by 777, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 777

Moving on to step 2:
777 can be fit into 16 0 times, resulting in a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 777

Let's proceed to step 3:
777 can be fit into 165 0 times, resulting in a remainder of 165.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 165 and we're left with 165.
Bring next digit (8) of the dividend behind the 165 and repeat the process: 1658 / 777

Let's proceed to step 4:
777 can be fit into 1658 2 times, resulting in a remainder of 104.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 1554 from 1658 leaves us with 104.
Append the next digit (5) from the dividend to 104 and continue with: 1045 / 777

Going ahead to step 5:
777 can be fit into 1045 1 times, resulting in a remainder of 268.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtract 777 from 1045 to get 268.
Take the next digit (1) from the dividend and append it to 268, then repeat: 2681 / 777

Advancing to step 6:
777 can be fit into 2681 3 times, resulting in a remainder of 350.
The number 3 becomes the next digit in our result. 
Result so far: 213.0
Subtracting 2331 from 2681 leaves us with 350.
Append the next digit (0) from the dividend to 350 and continue with: 3500 / 777

Going ahead to step 7:
When dividing 3500 by 777, we get 4 with a remainder of 392.
The next digit of our result is 4. 
Result so far: 2134.0
Subtracting 3108 from 3500 leaves us with 392.
Grab the next digit (7) from the dividend, add it to 392, then carry on: 3927 / 777

On to step 8:
3927 divided by 777 is 5 with a remainder of 42.
The number 5 becomes the next digit in our result. 
Result so far: 21345.0
The remainder is 42 after subtracting 3885 from 3927.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 9:
777 goes into 420 0 times with a remainder of 420.
Write down 0 as next digit of the result. 
Result so far: 21345.0
Subtracting 0 from 420 leaves us with 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Going ahead to step 10:
4200 divided by 777 is 5 with a remainder of 315.
Put 5 as the next digit of the answer. 
Result so far: 21345.05
If we take 3885 away from 4200, we end up with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Advancing to step 11:
When dividing 3150 by 777, we get 4 with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 21345.054
Deduct 3108 from 3150 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 12:
420 divided by 777 is 0 with a remainder of 420.
Use 0 as the next digit of our solution. 
Result so far: 21345.054
Subtract 0 from 420 to get 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

On to step 13:
If we divide 4200 by 777, we get 5 and a remainder of 315.
The number 5 becomes the next digit in our result. 
Result so far: 21345.05405
Subtract 3885 from 4200 to get 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

On to step 14:
777 goes into 3150 4 times with a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 21345.054054
Subtract 3108 from 3150 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 15:
777 can be fit into 420 0 times, resulting in a remainder of 420.
Use 0 as the next digit of our solution. 
Result so far: 21345.054054
Deduct 0 from 420 and we're left with 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Going ahead to step 16:
If we divide 4200 by 777, we get 5 and a remainder of 315.
Put 5 as the next digit of the answer. 
Result so far: 21345.05405405
If we subtract 3885 from 4200, we get 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

After the division, we end up with 21345.05405405 and a remainder of 3.15e-07.