165166 ÷ 2 
Our goal is to divide 165166 by 2.

Step 1:
2 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 2

On to step 2:
2 goes into 16 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we subtract 16 from 16, we get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 2

Step 3:
If we divide 5 by 2, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 82.0
Subtracting 4 from 5 leaves us with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 2

Step 4:
11 divided by 2 is 5 with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 825.0
Subtracting 10 from 11 leaves us with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 2

Let's proceed to step 5:
The number 2 fits into 16 8 times, leaving a remainder of 0.
The next digit of our result is 8. 
Result so far: 8258.0
If we take 16 away from 16, we end up with 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 2

Advancing to step 6:
6 divided by 2 is 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 82583.0
Subtract 6 from 6 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.

Going ahead to step 7:
0 divided by 2 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 82583.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.

Going ahead to step 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 82583.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.

Our division results in 82583.0 with a remaining 0.0.