My understanding is that for bit string of length $n$ there are $2^n$ bit strings. So the sum of all bit strings of lengths $1$ to $10$ would be $2^1$+$2^2$+ ... +$2^{10}$ = $2^{55}$. The empty string is length $0$.
The professor said the answer was $2046$ with no additional feedback. What am I missing in my approach?
It is true that $1 + 2 + \cdots + 10= 55$, but it is not true that $2^1 + 2^2 + \cdots + 2^{10}=2^{55}$. However, $2^1 + 2^2 + \cdots +2^{10}=2046$.
There's a general formula: $\sum_0^n 2^i = 2^{n+1} -1$, so $\sum_a^b 2^i = 2^{b+1}-2^a$.