We're dividing 86651109 by 166 
Let's see how many times 166 fits into 86651109.

Step 1:
If we divide 8 by 166, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 166

On to step 2:
The number 166 fits into 86 0 times, leaving a remainder of 86.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 86 after subtracting 0 from 86.
Grab the next digit (6) from the dividend, add it to 86, then carry on: 866 / 166

Moving on to step 3:
When dividing 866 by 166, we get 5 with a remainder of 36.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 830 from 866, we get 36.
Bring next digit (5) of the dividend behind the 36 and repeat the process: 365 / 166

On to step 4:
365 divided by 166 is 2 with a remainder of 33.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Deduct 332 from 365 and we're left with 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 166

Let's proceed to step 5:
When dividing 331 by 166, we get 1 with a remainder of 165.
The next digit of our result is 1. 
Result so far: 521.0
The remainder is 165 after subtracting 166 from 331.
Include the next digit (1) from the dividend after 165, then repeat: 1651 / 166

Moving on to step 6:
166 can be fit into 1651 9 times, resulting in a remainder of 157.
Use 9 as the next digit of our solution. 
Result so far: 5219.0
If we subtract 1494 from 1651, we get 157.
Include the next digit (0) from the dividend after 157, then repeat: 1570 / 166

Step 7:
166 goes into 1570 9 times with a remainder of 76.
Record the quotient 9 as the next digit in the result. 
Result so far: 52199.0
Subtract 1494 from 1570 to get 76.
Append the next digit (9) from the dividend to 76 and continue with: 769 / 166

On to step 8:
If we divide 769 by 166, we get 4 and a remainder of 105.
The number 4 becomes the next digit in our result. 
Result so far: 521994.0
Subtracting 664 from 769 leaves us with 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Moving on to step 9:
The number 166 fits into 1050 6 times, leaving a remainder of 54.
The number 6 becomes the next digit in our result. 
Result so far: 521994.6
The remainder is 54 after subtracting 996 from 1050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 10:
The number 166 fits into 540 3 times, leaving a remainder of 42.
Write down 3 as next digit of the result. 
Result so far: 521994.63
Subtract 498 from 540 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 11:
420 divided by 166 is 2 with a remainder of 88.
Write down 2 as next digit of the result. 
Result so far: 521994.632
If we take 332 away from 420, we end up with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 12:
The number 166 fits into 880 5 times, leaving a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 521994.6325
Deduct 830 from 880 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 13:
If we divide 500 by 166, we get 3 and a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 521994.63253
Subtract 498 from 500 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 14:
When dividing 20 by 166, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 521994.63253
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 15:
If we divide 200 by 166, we get 1 and a remainder of 34.
The next digit of our result is 1. 
Result so far: 521994.6325301
If we take 166 away from 200, we end up 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.

Let's proceed to step 16:
If we divide 340 by 166, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 521994.63253012
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.

The quotient of the division is 521994.63253012, and the remainder is 8e-09.