OFFSET
0,2
LINKS
FORMULA
G.f.: [1+2x^2+4x^3]/[(1-x^2)(1-2x)]. - Ralf Stephan, Apr 03 2004
a(n+1) = 2^(n+4)/3 -7/2 +(-1)^n/6, n>0. - R. J. Mathar, May 20 2013
a(n) ~ 8*2^n/3. - Charles R Greathouse IV, Jun 02 2026
PROG
(PARI) a(n)=if(n, (16*2^n-21-(-1)^n)/6, 1) \\ Charles R Greathouse IV, Jun 02 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
