There exists a unique strictly increasing sequence of nonnegative integers a1<a2<⋯<ak such that
221+12231+1=2a1+2a2+⋯+2ak.
What is k?
104
105
106
107
108