82978377 divided by 166 
We want to divide 82978377 by 166.

Step 1:
If we divide 8 by 166, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 166

Moving on to step 2:
When dividing 82 by 166, we get 0 with a remainder of 82.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 82, we get 82.
Grab the next digit (9) from the dividend, add it to 82, then carry on: 829 / 166

Step 3:
When dividing 829 by 166, we get 4 with a remainder of 165.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 664 from 829 and we're left with 165.
Fetch the next digit (7) from the dividend, attach it to 165 and continue: 1657 / 166

Moving on to step 4:
166 goes into 1657 9 times with a remainder of 163.
Record the quotient 9 as the next digit in the result. 
Result so far: 49.0
The remainder is 163 after subtracting 1494 from 1657.
Take the next digit (8) from the dividend and append it to 163, then repeat: 1638 / 166

Advancing to step 5:
If we divide 1638 by 166, we get 9 and a remainder of 144.
The next digit of our result is 9. 
Result so far: 499.0
Subtracting 1494 from 1638 leaves us with 144.
Include the next digit (3) from the dividend after 144, then repeat: 1443 / 166

Advancing to step 6:
1443 divided by 166 is 8 with a remainder of 115.
Record the quotient 8 as the next digit in the result. 
Result so far: 4998.0
If we take 1328 away from 1443, we end up with 115.
Take the next digit (7) from the dividend and append it to 115, then repeat: 1157 / 166

On to step 7:
If we divide 1157 by 166, we get 6 and a remainder of 161.
The number 6 becomes the next digit in our result. 
Result so far: 49986.0
Subtracting 996 from 1157 leaves us with 161.
Bring next digit (7) of the dividend behind the 161 and repeat the process: 1617 / 166

Going ahead to step 8:
1617 divided by 166 is 9 with a remainder of 123.
Write down 9 as next digit of the result. 
Result so far: 499869.0
If we take 1494 away from 1617, we end up with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Advancing to step 9:
1230 divided by 166 is 7 with a remainder of 68.
Record the quotient 7 as the next digit in the result. 
Result so far: 499869.7
If we subtract 1162 from 1230, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 10:
When dividing 680 by 166, we get 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 499869.74
The remainder is 16 after subtracting 664 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
The number 166 fits into 160 0 times, leaving a remainder of 160.
Record the quotient 0 as the next digit in the result. 
Result so far: 499869.74
If we take 0 away from 160, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Moving on to step 12:
166 can be fit into 1600 9 times, resulting in a remainder of 106.
Write down 9 as next digit of the result. 
Result so far: 499869.7409
If we subtract 1494 from 1600, we get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

On to step 13:
The number 166 fits into 1060 6 times, leaving a remainder of 64.
Use 6 as the next digit of our solution. 
Result so far: 499869.74096
If we subtract 996 from 1060, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 14:
166 can be fit into 640 3 times, resulting in a remainder of 142.
The next digit of our result is 3. 
Result so far: 499869.740963
If we take 498 away from 640, we end up with 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

On to step 15:
166 goes into 1420 8 times with a remainder of 92.
Put 8 as the next digit of the answer. 
Result so far: 499869.7409638
Subtract 1328 from 1420 to get 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Step 16:
166 can be fit into 920 5 times, resulting in a remainder of 90.
Put 5 as the next digit of the answer. 
Result so far: 499869.74096385
The remainder is 90 after subtracting 830 from 920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Our division results in 499869.74096385 with a remaining 9e-08.