OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,-1,1,-1,1,-1,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) - a(n-12) + a(n-13) - a(n-14) + a(n-15) - a(n-16) + a(n-17) for n > 16.
G.f.: x^2*(-9*x^14 + 6*x^13 - 7*x^12 - x^10 - 2*x^9 - 3*x^8 - 3*x^7 - 3*x^6 - 4*x^5 + 2*x^4 - 7*x^3 - 2*x^2 - 2*x - 1)/((x - 1)*(x^2 - x + 1)*(x^2 + x + 1)*(x^6 - x^3 + 1)*(x^6 + x^3 + 1)). (End)
EXAMPLE
0.001349527665317139001349527665317139...
MATHEMATICA
Join[{0, 0}, RealDigits[1/741, 10, 120][[1]]] (* or *) PadRight[{}, 120, {0, 0, 1, 3, 4, 9, 5, 2, 7, 6, 6, 5, 3, 1, 7, 1, 3, 9}] (* Harvey P. Dale, Oct 24 2016 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved