OFFSET
0,4
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..1430
Index entries for linear recurrences with constant coefficients, signature (9,-16,-20).
FORMULA
G.f.: x^2 / ( (5*x-1)*(4*x^2+4*x-1) ).
a(n) = 5^n - A086347(n).
a(n) = 9*a(n-1) - 16*a(n-2) - 20*a(n-3). - Wesley Ivan Hurt, Jun 22 2022
MATHEMATICA
CoefficientList[Series[x^2/((5*x - 1)*(4*x^2 + 4*x - 1)), {x, 0, 30}], x] (* Wesley Ivan Hurt, Jun 22 2022 *)
LinearRecurrence[{9, -16, -20}, {0, 0, 1}, 30] (* Harvey P. Dale, Mar 26 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Feb 13 2022
STATUS
approved