OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,3,2,3).
FORMULA
G.f.: -(((1+x)*(2+x^2))/(-1+x(2+3*x)*(1+x^2))). - Harvey P. Dale, May 04 2015
MATHEMATICA
LinearRecurrence[{2, 3, 2, 3}, {2, 6, 19, 61}, 30] (* Harvey P. Dale, May 04 2015 *)
PROG
(PARI) a(n)=([0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1; 3, 2, 3, 2]^n*[2; 6; 19; 61])[1, 1] \\ Charles R Greathouse IV, Jun 01 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
