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