I need to find a recurrence relation or an exact formula to the sequence $$1,2,4,8,12,16,24,32,40,48,64,80,96,112,128,160,192,224,256,288,\ldots$$ Well, considering $a_0=1$, $a_1=2$ and $a_2=4$, the terms $a_n$ for $n\geq3$ is obtained by adding a power of $2$. In fact the sequence is: $$1\xrightarrow{+1}2\xrightarrow{+2}4\xrightarrow{+4}8\xrightarrow{+4}12\xrightarrow{+4}16\xrightarrow{+8}24\xrightarrow{+8}32\xrightarrow{+8}40\xrightarrow{+8}48\xrightarrow{+16}64\xrightarrow{+16}80\xrightarrow{+16}96\xrightarrow{+16}112\xrightarrow{+16}128\xrightarrow{+32}160\ldots$$ and we will have $5+1$ addition of $32=2^5$ and then $6+1$ addition of $64=2^6$ and so on.
Any, solutions, suggestions,... please.