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,-5,-10,15,11,-15,-10,5,5,1).
FORMULA
MATHEMATICA
Table[((n+1)/120)*((5*n^3+5*n^2-10*n+72)*LucasL[n+5] + 4*(5*n^2+10*n-24)*LucasL[n+ 4]), {n, 0, 40}] (* G. C. Greubel, Apr 08 2021 *)
PROG
(Magma)
R<x>:=PowerSeriesRing(Integers(), 40);
Coefficients(R!( ((1+2*x)/(1-x-x^2))^5 )); // G. C. Greubel, Apr 08 2021
(Sage)
def A060931_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( ((1+2*x)/(1-x-x^2))^5 ).list()
A060931_list(40) # G. C. Greubel, Apr 08 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Apr 20 2001
STATUS
approved