OFFSET
0,2
COMMENTS
Partial sums of A134816. - Omar E. Pol, Jan 02 2009
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,1,0,-1).
FORMULA
If you add 2 to each term, you get the Padovan sequence A000931. - Gabriel Nivasch (gnivasch(AT)yahoo.com), Oct 15 2003
Partial sums of Padovan sequence A000931(n+5). G.f. : (1+x)/(1-x-x^2+x^4); a(n)=a(n-1)+a(n-2)-a(n-4). - Paul Barry, Jun 21 2004, sign corrected R. J. Mathar, Oct 16 2010
PROG
(PARI) a(n)=([0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1; -1, 0, 1, 1]^n*[1; 2; 3; 5])[1, 1] \\ Charles R Greathouse IV, May 29 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 07 2000
EXTENSIONS
Signs in formula corrected by R. J. Mathar, Oct 16 2010
STATUS
approved
