Let's divide 166999 by 7
We're looking to find how many times 7 goes into 166999.

Let's proceed to step 1:
1 divided by 7 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 7

Moving on to step 2:
16 divided by 7 is 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 14 from 16 and we're left with 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 7

Step 3:
7 can be fit into 26 3 times, resulting in a remainder of 5.
The next digit of our result is 3. 
Result so far: 23.0
Subtracting 21 from 26 leaves us with 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 7

Let's proceed to step 4:
7 goes into 59 8 times with a remainder of 3.
The next digit of our result is 8. 
Result so far: 238.0
If we take 56 away from 59, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 7

Step 5:
When dividing 39 by 7, we get 5 with a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 2385.0
If we take 35 away from 39, we end up with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 7

Moving on to step 6:
49 divided by 7 is 7 with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 23857.0
The remainder is 0 after subtracting 49 from 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
7 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 23857.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
If we divide 0 by 7, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 23857.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 23857.0, and the remainder is 0.0.