OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, -1, 1).
FORMULA
From Chai Wah Wu, Jun 13 2020: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) for n > 5.
G.f.: x^2*(-5*x^3 + 3*x^2 - 6*x - 1)/(x^4 - x^3 + x - 1). (End)
EXAMPLE
0.0017482517482517482517482517482517482517482517482517...
MATHEMATICA
First[RealDigits[1/572, 10, 100, -1]] (* Paolo Xausa, Aug 23 2025 *)
realDigitsRecip[572] (* The realDigitsRecip program is at A021200 *) (* or *) PadRight[{0, 0}, 120, {2, 5, 1, 7, 4, 8}] (* Harvey P. Dale, Aug 27 2025 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved
