OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,0,1,-7).
FORMULA
G.f.: x*(3+x) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1, 0}], 7], {n, 20}] (* or *) LinearRecurrence[{7, 0, 1, -7}, {3, 22, 154, 1081}, 20] (* Harvey P. Dale, Sep 08 2015 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved