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