OFFSET
0,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,-1,1,1,-2,1,1,-2,0,2,-2,0,2,-1,-1,2,-1,-1,1,0,-1,1).
FORMULA
From Chai Wah Wu, Jan 23 2021: (Start)
a(n) = a(n-1) - a(n-3) + a(n-4) + a(n-5) - 2*a(n-6) + a(n-7) + a(n-8) - 2*a(n-9) + 2*a(n-11) - 2*a(n-12) + 2*a(n-14) - a(n-15) - a(n-16) + 2*a(n-17) - a(n-18) - a(n-19) + a(n-20) - a(n-22) + a(n-23) for n > 22.
G.f.: (-9*x^22 + 4*x^21 + 3*x^20 - 14*x^19 + 6*x^18 + 10*x^17 - 19*x^16 + 5*x^15 + 13*x^14 - 15*x^13 - 3*x^12 + 14*x^11 - 16*x^10 + x^9 + 8*x^8 - 4*x^7 - 3*x^6 + 4*x^5 - 5*x^4 - x^2)/((x - 1)*(x^2 - x + 1)*(x^4 + x^3 + x^2 + x + 1)*(x^8 - x^7 + x^5 - x^4 + x^3 - x + 1)*(x^8 + x^7 - x^5 - x^4 - x^3 + x + 1)). (End)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved