Numbers of the form $\sum_{n=0}^{N} 2^{a_n} 3^n$ Just out of curiosity.
Does the numbers of the form
\begin{align}
 \sum_{n=0}^{N} 2^{a_n} 3^n \text{,}
\end{align}
with $a_n \ge 0$ and $N \ge 0$, cover all integers not divisible by 3?
These numbers can never be divisible by three.
It is also easy to discover integers with multiple representations (e.g., $4 = 2^2 3^0 = 2^0 3^0 + 2^0 3^1$).
I am however stuck to prove that they cover all integers not divisible by 3.
Second question: The numbers of the form
\begin{align}
 \sum_{n=0}^{N} 5^{a_n} 3^n \text{,}
\end{align}
with $a_n \ge 0$ and $N \ge 0$, are numbers congruent to $\{1, 4, 5, 8\} \pmod{12}$.
These are the numbers not divisible by 3 and not $\{ 2, 3 \} \pmod{4}$.
Many other such forms may be considered.
What is the name of such numbers (numbers of such a form)?

Erdos asked a similar question some time ago (about “3-smooth representations” of the natural numbers). See here for a discussion on both of your questions.
