OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (7,0,1,-7).
FORMULA
a(n) = 7*a(n-1)+a(n-3)-7*a(n-4). G.f.: x*(x^2+3) / ((x-1)*(7*x-1)*(x^2+x+1)). - Colin Barker, Aug 09 2014
MATHEMATICA
Module[{nn=20, c}, c=PadRight[{}, nn, {3, 0, 1}]; Table[FromDigits[Take[c, n], 7], {n, nn}]] (* Harvey P. Dale, Aug 09 2014 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved