OFFSET
0,2
COMMENTS
Linear recurrence and empirical g.f confirmed for more terms. - Ray Chandler, Mar 07 2024
LINKS
Ray Chandler, Table of n, a(n) for n = 0..1993
Index entries for linear recurrences with constant coefficients, signature (2, 1, 7, 4, 4, 1).
FORMULA
Empirical g.f.: 2*x*(x^3-x^2-1) / (x^6+4*x^5+4*x^4+7*x^3+x^2+2*x-1). - Colin Barker, Apr 08 2013
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0; 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 1; 1, 4, 4, 7, 1, 2]^n*[0; 2; 4; 12; 40; 128])[1, 1] \\ Charles R Greathouse IV, May 29 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 18 2007
STATUS
approved
