OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,0,1,-5).
FORMULA
a(n) = +5*a(n-1) +a(n-3) -5*a(n-4). G.f.: x / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Jan 08 2011
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 0}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 1, -5}, {1, 5, 25, 126}, 30] (* Harvey P. Dale, May 09 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved