OFFSET
0,3
COMMENTS
Period 6: after 0.00240, 384615 repeats endlessly. - Alonso del Arte, Apr 26 2018
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,-1,1).
FORMULA
From Chai Wah Wu, Sep 04 2025: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 8.
G.f.: x^2*(-5*x^6 + 8*x^5 - 7*x^4 - 5*x^3 + 4*x^2 - 2*x - 2)/(x^4 - x^3 + x - 1). (End)
EXAMPLE
0.002403846153846153846153846...
MATHEMATICA
Join[{0, 0}, RealDigits[1/416, 10, 104][[1]]] (* Alonso del Arte, Apr 26 2018 *)
PadRight[{0, 0, 2, 4, 0}, 120, {8, 4, 6, 1, 5, 3}] (* Harvey P. Dale, May 25 2018 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved
