How many rays are in the next two terms in the sequence?

The sequnce is
2, 3, 5, 9, ....
this sequence follows the next formula:
[tex]a_n=2^{n-1}+1[/tex]where an is the nth term.
[tex]\begin{gathered} a_1=2^{1-1}+1=1 \\ a_2=2^{2-1}+1=3 \\ a_3=2^{3-1}+1=5 \\ a_4=2^{4-1}+1=9 \\ a_5=2^{5-1}+1=17 \\ a_6=2^{6-1}+1=33 \end{gathered}[/tex]The next two terms are 17 and 33