OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,-1,1).
FORMULA
From Chai Wah Wu, Jun 05 2016: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 3.
G.f.: x*(1 + x + 7*x^2)/(1 - x + x^3 - x^4). (End)
MATHEMATICA
First[RealDigits[1/77, 10, 100, -1]] (* or *)
PadRight[{}, 100, {0, 1, 2, 9, 8, 7}] (* Paolo Xausa, Sep 27 2025 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved
