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