OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (22,-166,468,-113,-1066,184,192).
FORMULA
G.f.: (-120*x^5 + 274*x^4 - 225*x^3 + 85*x^2 - 15*x + 1)/(-192*x^7 - 184*x^6 + 1066*x^5 + 113*x^4 - 468*x^3 + 166*x^2 - 22*x + 1)
MATHEMATICA
LinearRecurrence[{22, -166, 468, -113, -1066, 184, 192}, {1, 7, 73, 687, 6433, 59671, 550873}, 30] (* Harvey P. Dale, Dec 28 2021 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 1; 192, 184, -1066, -113, 468, -166, 22]^n*[1; 7; 73; 687; 6433; 59671; 550873])[1, 1] \\ Charles R Greathouse IV, Jun 01 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
