166166 ÷ 1 
We want to figure out the number of times 166166 can be divided by 1.

On to step 1:
1 can be fit into 1 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 1 from 1 to get 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 1

Going ahead to step 2:
1 goes into 6 6 times with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtract 6 from 6 to get 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 1

Moving on to step 3:
1 goes into 6 6 times with a remainder of 0.
The next digit of our result is 6. 
Result so far: 166.0
If we take 6 away from 6, we end up with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 1

Advancing to step 4:
If we divide 1 by 1, we get 1 and a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1661.0
The remainder is 0 after subtracting 1 from 1.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 1

Step 5:
When dividing 6 by 1, we get 6 with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 16616.0
Deduct 6 from 6 and we're left with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 1

Advancing to step 6:
When dividing 6 by 1, we get 6 with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 166166.0
If we subtract 6 from 6, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
1 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 166166.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 1 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 166166.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.

After the division, we end up with 166166.0 and a remainder of 0.0.