OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,-1,1).
FORMULA
From Chai Wah Wu, Apr 22 2024: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 4.
G.f.: x^2*(-6*x^2 - 2*x - 1)/(x^4 - x^3 + x - 1). (End)
EXAMPLE
0.0013986013986013986013986013986013986...
MATHEMATICA
Join[{0, 0}, RealDigits[1/715, 10, 120][[1]]] (* or *) PadRight[{0}, 120, {6, 0, 1, 3, 9, 8}] (* Harvey P. Dale, Nov 01 2019 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved