OFFSET
0,3
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^2*(x^3+3*x^2+2*x+2) / (x^6+4*x^5+4*x^4+7*x^3+x^2+2*x-1). - Colin Barker, Apr 08 2013
MATHEMATICA
LinearRecurrence[{2, 1, 7, 4, 4, 1}, {0, 0, 4, 12, 34, 110}, 40] (* Harvey P. Dale, Apr 15 2024 *)
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; 0; 4; 12; 34; 110])[1, 1] \\ Charles R Greathouse IV, May 29 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 18 2007
STATUS
approved
