OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,0,1,-7).
FORMULA
G.f.: x*(x+2)*(1+x) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
Module[{nn=20, p}, p=PadRight[{}, nn, {2, 3, 1}]; Table[FromDigits[Take[p, n], 7], {n, nn}]] (* or *) LinearRecurrence[{7, 0, 1, -7}, {2, 17, 120, 842}, 20] (* Harvey P. Dale, Jul 17 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved