OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,0,0,1,-5).
FORMULA
G.f.: ( x*(1+3*x^2+2*x^3) ) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 3, 2}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 0, 1, -5}, {1, 5, 28, 142, 711}, 30] (* Harvey P. Dale, Jul 03 2021 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved