OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,1).
FORMULA
From Chai Wah Wu, Jan 28 2021: (Start)
a(n) = a(n-1) - a(n-17) + a(n-18) for n > 18.
G.f.: x^2*(-6*x^16 + 2*x^14 - 4*x^12 + 7*x^11 - 6*x^10 + 5*x^9 - 2*x^8 + 2*x^7 - 3*x^6 + 3*x^5 - 6*x^4 + 3*x^3 + 5*x^2 - 8*x - 1)/(x^18 - x^17 + x - 1). (End)
MAPLE
Digits := 100; evalf(1/515); # Wesley Ivan Hurt, Feb 03 2014
MATHEMATICA
RealDigits[1/515, 10, 100, -1] (* Wesley Ivan Hurt, Feb 03 2014 *)
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1}, {0, 0, 1, 9, 4, 1, 7, 4, 7, 5, 7, 2, 8, 1, 5, 5, 3, 3, 9}, 99] (* Robert P. P. McKone, Jan 28 2021 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved