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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,1).
FORMULA
From Chai Wah Wu, Jan 03 2024: (Start)
a(n) = a(n-1) - a(n-39) + a(n-40) for n > 41.
G.f.: x^2*(-5*x^39 - 2*x^38 + 6*x^36 + x^35 - 3*x^34 + 2*x^33 - x^32 - 4*x^31 + x^30 + x^28 - 3*x^27 + x^26 + 2*x^25 - 5*x^24 + 9*x^23 - 6*x^22 + 3*x^21 + 2*x^20 - 2*x^19 - 3*x^17 - x^16 - 2*x^15 + 4*x^14 + 4*x^13 - 6*x^12 + 6*x^11 - 8*x^10 + 4*x^9 + 5*x^8 - x^6 - 6*x^5 + 7*x^4 - 2*x^3 - 3*x^2 - 3*x - 1)/(x^40 - x^39 + x - 1). (End)
MATHEMATICA
First[RealDigits[1/676, 10, 100, -1]] (* Paolo Xausa, Jun 29 2024 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved