87166063 divided by 487 
Our goal is to divide 87166063 by 487.

Going ahead to step 1:
When dividing 8 by 487, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 487

Moving on to step 2:
87 divided by 487 is 0 with a remainder of 87.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 87, we end up with 87.
Append the next digit (1) from the dividend to 87 and continue with: 871 / 487

Let's proceed to step 3:
487 goes into 871 1 times with a remainder of 384.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 487 from 871, we get 384.
Grab the next digit (6) from the dividend, add it to 384, then carry on: 3846 / 487

Going ahead to step 4:
When dividing 3846 by 487, we get 7 with a remainder of 437.
Write down 7 as next digit of the result. 
Result so far: 17.0
Deduct 3409 from 3846 and we're left with 437.
Grab the next digit (6) from the dividend, add it to 437, then carry on: 4376 / 487

Moving on to step 5:
4376 divided by 487 is 8 with a remainder of 480.
Record the quotient 8 as the next digit in the result. 
Result so far: 178.0
Deduct 3896 from 4376 and we're left with 480.
Grab the next digit (0) from the dividend, add it to 480, then carry on: 4800 / 487

Going ahead to step 6:
487 goes into 4800 9 times with a remainder of 417.
Put 9 as the next digit of the answer. 
Result so far: 1789.0
If we take 4383 away from 4800, we end up with 417.
Append the next digit (6) from the dividend to 417 and continue with: 4176 / 487

On to step 7:
487 can be fit into 4176 8 times, resulting in a remainder of 280.
The next digit of our result is 8. 
Result so far: 17898.0
Subtracting 3896 from 4176 leaves us with 280.
Grab the next digit (3) from the dividend, add it to 280, then carry on: 2803 / 487

On to step 8:
487 goes into 2803 5 times with a remainder of 368.
Record the quotient 5 as the next digit in the result. 
Result so far: 178985.0
Deduct 2435 from 2803 and we're left with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Advancing to step 9:
The number 487 fits into 3680 7 times, leaving a remainder of 271.
Use 7 as the next digit of our solution. 
Result so far: 178985.7
If we subtract 3409 from 3680, we get 271.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2710, and continue the process.

On to step 10:
If we divide 2710 by 487, we get 5 and a remainder of 275.
Record the quotient 5 as the next digit in the result. 
Result so far: 178985.75
If we subtract 2435 from 2710, we get 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

On to step 11:
487 goes into 2750 5 times with a remainder of 315.
Put 5 as the next digit of the answer. 
Result so far: 178985.755
Deduct 2435 from 2750 and we're left 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.

The quotient of the division is 178985.755, and the remainder is 0.0315.