There exists a unique strictly increasing sequence of nonnegative integers a1<a2<⋯<ak such that
27+1263+1=2a1+2a2+⋯+2ak.
What is k?
27
28
29
30
31