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