Given some $n$, is it possible to select $k_i$ such that the following is true?
$$ 3^n2^{k_0} + 3^n2^{k_1}+ 3^n2^{k_{2}} + 3^n2^{k_3} + ... + 3^n2^{k_i} = 2^m - 1 $$
for $n=1$ it's trivial, for $n=2$ it's $$ 9 + 9 \times 2 + 9 * 4 = 64 - 1 $$ for $n=3$ $$ k_i = [0, 2,3,5,6, 7, 8, 10, 13] $$ and $n=4$: $$ k_i = [0, 1, 2, 3, 6, 8, 9, 10, 12, 13, 15, 17, 18, 21, 22, 23, 24, 25, 26, 31, 32, 34, 38, 41, 43, 46, 47] $$ where the above was found using brute force in python. I've found values for $n$ up to 8 with about 2000 $k$.
Is this true for all n (I think yes)? And how would I show this?