OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,0,4).
FORMULA
MATHEMATICA
LinearRecurrence[{5, 0, 4}, {1, 5, 29}, 31] (* G. C. Greubel, Apr 09 2021 *)
PROG
(Magma) I:=[1, 5, 29]; [n le 3 select I[n] else 5*Self(n-1) + 4*Self(n-3): n in [1..30]]; // G. C. Greubel, Apr 09 2021
(Sage)
def A060926_list(prec):
P.<x> = PowerSeriesRing(QQ, prec)
return P( (1+4*x^2)/(1-5*x-4*x^3) ).list()
A060926_list(30) # G. C. Greubel, Apr 09 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Apr 20 2001
STATUS
approved