We look at the division of 87666551 by 166 
Our goal is to divide 87666551 by 166.

On to step 1:
8 divided by 166 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 166

Going ahead to step 2:
166 goes into 87 0 times with a remainder of 87.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 87, we get 87.
Include the next digit (6) from the dividend after 87, then repeat: 876 / 166

On to step 3:
166 goes into 876 5 times with a remainder of 46.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 830 from 876 and we're left with 46.
Fetch the next digit (6) from the dividend, attach it to 46 and continue: 466 / 166

On to step 4:
466 divided by 166 is 2 with a remainder of 134.
Record the quotient 2 as the next digit in the result. 
Result so far: 52.0
The remainder is 134 after subtracting 332 from 466.
Include the next digit (6) from the dividend after 134, then repeat: 1346 / 166

Advancing to step 5:
The number 166 fits into 1346 8 times, leaving a remainder of 18.
Record the quotient 8 as the next digit in the result. 
Result so far: 528.0
If we subtract 1328 from 1346, we get 18.
Bring next digit (5) of the dividend behind the 18 and repeat the process: 185 / 166

Moving on to step 6:
If we divide 185 by 166, we get 1 and a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 5281.0
If we subtract 166 from 185, we get 19.
Grab the next digit (5) from the dividend, add it to 19, then carry on: 195 / 166

Let's proceed to step 7:
195 divided by 166 is 1 with a remainder of 29.
The next digit of our result is 1. 
Result so far: 52811.0
Subtract 166 from 195 to get 29.
Take the next digit (1) from the dividend and append it to 29, then repeat: 291 / 166

Moving on to step 8:
The number 166 fits into 291 1 times, leaving a remainder of 125.
Put 1 as the next digit of the answer. 
Result so far: 528111.0
Subtract 166 from 291 to get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Going ahead to step 9:
166 can be fit into 1250 7 times, resulting in a remainder of 88.
The number 7 becomes the next digit in our result. 
Result so far: 528111.7
The remainder is 88 after subtracting 1162 from 1250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Advancing to step 10:
166 goes into 880 5 times with a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 528111.75
Subtract 830 from 880 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 11:
500 divided by 166 is 3 with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 528111.753
If we take 498 away from 500, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 12:
The number 166 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 528111.753
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
When dividing 200 by 166, we get 1 with a remainder of 34.
Write down 1 as next digit of the result. 
Result so far: 528111.75301
Deduct 166 from 200 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 14:
The number 166 fits into 340 2 times, leaving a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 528111.753012
Deduct 332 from 340 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 15:
80 divided by 166 is 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 528111.753012
Subtracting 0 from 80 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 16:
166 goes into 800 4 times with a remainder of 136.
Put 4 as the next digit of the answer. 
Result so far: 528111.75301204
If we subtract 664 from 800, we get 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

The final outcome is 528111.75301204, with a leftover of 1.36e-07.