We divide 8287030 by 166
We're looking to find how many times 166 goes into 8287030.

Advancing to step 1:
If we divide 8 by 166, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 166

On to step 2:
82 divided by 166 is 0 with a remainder of 82.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 82, we get 82.
Bring next digit (8) of the dividend behind the 82 and repeat the process: 828 / 166

Advancing to step 3:
166 can be fit into 828 4 times, resulting in a remainder of 164.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 664 from 828 and we're left with 164.
Fetch the next digit (7) from the dividend, attach it to 164 and continue: 1647 / 166

On to step 4:
When dividing 1647 by 166, we get 9 with a remainder of 153.
Record the quotient 9 as the next digit in the result. 
Result so far: 49.0
Deduct 1494 from 1647 and we're left with 153.
Grab the next digit (0) from the dividend, add it to 153, then carry on: 1530 / 166

On to step 5:
166 goes into 1530 9 times with a remainder of 36.
Put 9 as the next digit of the answer. 
Result so far: 499.0
If we take 1494 away from 1530, we end up with 36.
Include the next digit (3) from the dividend after 36, then repeat: 363 / 166

Moving on to step 6:
363 divided by 166 is 2 with a remainder of 31.
Put 2 as the next digit of the answer. 
Result so far: 4992.0
The remainder is 31 after subtracting 332 from 363.
Include the next digit (0) from the dividend after 31, then repeat: 310 / 166

Advancing to step 7:
166 goes into 310 1 times with a remainder of 144.
The number 1 becomes the next digit in our result. 
Result so far: 49921.0
The remainder is 144 after subtracting 166 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Advancing to step 8:
1440 divided by 166 is 8 with a remainder of 112.
Record the quotient 8 as the next digit in the result. 
Result so far: 49921.8
Subtracting 1328 from 1440 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Going ahead to step 9:
166 can be fit into 1120 6 times, resulting in a remainder of 124.
Put 6 as the next digit of the answer. 
Result so far: 49921.86
Subtract 996 from 1120 to get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 10:
When dividing 1240 by 166, we get 7 with a remainder of 78.
The next digit of our result is 7. 
Result so far: 49921.867
If we take 1162 away from 1240, we end up with 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 11:
780 divided by 166 is 4 with a remainder of 116.
Record the quotient 4 as the next digit in the result. 
Result so far: 49921.8674
If we take 664 away from 780, we end up with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

On to step 12:
166 can be fit into 1160 6 times, resulting in a remainder of 164.
The number 6 becomes the next digit in our result. 
Result so far: 49921.86746
Subtract 996 from 1160 to get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Step 13:
1640 divided by 166 is 9 with a remainder of 146.
Write down 9 as next digit of the result. 
Result so far: 49921.867469
Subtract 1494 from 1640 to get 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Let's proceed to step 14:
166 can be fit into 1460 8 times, resulting in a remainder of 132.
The number 8 becomes the next digit in our result. 
Result so far: 49921.8674698
If we subtract 1328 from 1460, we get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

On to step 15:
1320 divided by 166 is 7 with a remainder of 158.
The next digit of our result is 7. 
Result so far: 49921.86746987
Deduct 1162 from 1320 and we're left with 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

In conclusion, the division gives 49921.86746987 with a balance of 1.58e-07.