Let's divide 77879717 by 166
We want to figure out the number of times 77879717 can be divided by 166.

Step 1:
166 can be fit into 7 0 times, resulting in a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 166

On to step 2:
The number 166 fits into 77 0 times, leaving a remainder of 77.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 77 and we're left with 77.
Append the next digit (8) from the dividend to 77 and continue with: 778 / 166

Moving on to step 3:
166 goes into 778 4 times with a remainder of 114.
The next digit of our result is 4. 
Result so far: 4.0
If we take 664 away from 778, we end up with 114.
Fetch the next digit (7) from the dividend, attach it to 114 and continue: 1147 / 166

Moving on to step 4:
166 can be fit into 1147 6 times, resulting in a remainder of 151.
Use 6 as the next digit of our solution. 
Result so far: 46.0
Subtract 996 from 1147 to get 151.
Append the next digit (9) from the dividend to 151 and continue with: 1519 / 166

Moving on to step 5:
1519 divided by 166 is 9 with a remainder of 25.
The next digit of our result is 9. 
Result so far: 469.0
Subtracting 1494 from 1519 leaves us with 25.
Bring next digit (7) of the dividend behind the 25 and repeat the process: 257 / 166

Moving on to step 6:
When dividing 257 by 166, we get 1 with a remainder of 91.
The number 1 becomes the next digit in our result. 
Result so far: 4691.0
If we subtract 166 from 257, we get 91.
Include the next digit (1) from the dividend after 91, then repeat: 911 / 166

Advancing to step 7:
166 can be fit into 911 5 times, resulting in a remainder of 81.
Use 5 as the next digit of our solution. 
Result so far: 46915.0
If we take 830 away from 911, we end up with 81.
Take the next digit (7) from the dividend and append it to 81, then repeat: 817 / 166

Going ahead to step 8:
When dividing 817 by 166, we get 4 with a remainder of 153.
Record the quotient 4 as the next digit in the result. 
Result so far: 469154.0
If we subtract 664 from 817, we get 153.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1530, and continue the process.

Advancing to step 9:
166 goes into 1530 9 times with a remainder of 36.
The number 9 becomes the next digit in our result. 
Result so far: 469154.9
Deduct 1494 from 1530 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
166 goes into 360 2 times with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 469154.92
Subtracting 332 from 360 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
The number 166 fits into 280 1 times, leaving a remainder of 114.
The number 1 becomes the next digit in our result. 
Result so far: 469154.921
If we take 166 away from 280, we end up with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Let's proceed to step 12:
166 can be fit into 1140 6 times, resulting in a remainder of 144.
Use 6 as the next digit of our solution. 
Result so far: 469154.9216
The remainder is 144 after subtracting 996 from 1140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Step 13:
1440 divided by 166 is 8 with a remainder of 112.
Use 8 as the next digit of our solution. 
Result so far: 469154.92168
Subtract 1328 from 1440 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 14:
166 can be fit into 1120 6 times, resulting in a remainder of 124.
The number 6 becomes the next digit in our result. 
Result so far: 469154.921686
If we take 996 away from 1120, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Advancing to step 15:
If we divide 1240 by 166, we get 7 and a remainder of 78.
The number 7 becomes the next digit in our result. 
Result so far: 469154.9216867
Subtract 1162 from 1240 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Let's proceed to step 16:
166 can be fit into 780 4 times, resulting in a remainder of 116.
The next digit of our result is 4. 
Result so far: 469154.92168674
The remainder is 116 after subtracting 664 from 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

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