We're dividing 876166 by 9 
We're looking to find how many times 9 goes into 876166.

Advancing to step 1:
9 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 9

Let's proceed to step 2:
When dividing 87 by 9, we get 9 with a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 81 from 87 and we're left with 6.
Grab the next digit (6) from the dividend, add it to 6, then carry on: 66 / 9

Advancing to step 3:
When dividing 66 by 9, we get 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 97.0
If we subtract 63 from 66, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 9

Step 4:
When dividing 31 by 9, we get 3 with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 973.0
If we take 27 away from 31, we end up with 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 9

Step 5:
The number 9 fits into 46 5 times, leaving a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 9735.0
Subtract 45 from 46 to get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 9

Advancing to step 6:
When dividing 16 by 9, we get 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 97351.0
If we subtract 9 from 16, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
If we divide 70 by 9, we get 7 and a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 97351.7
If we subtract 63 from 70, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 8:
The number 9 fits into 70 7 times, leaving a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 97351.77
If we take 63 away from 70, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Our division results in 97351.77 with a remaining 0.007.