OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,16,-128,1,-8,-16,128).
FORMULA
a(n) = (1428 + 7*(-4)^n + 2278*(-1)^n + (1800 + 360*i)*(-i)^n + (1800 - 360*i)*i^n - 3*4^n + 85*8^n)/510 where i = sqrt(-1).
G.f.: (-1 - 3*x + 23*x^2 - 3*x^3 + 40*x^4 + 624*x^5 - 1856*x^6)/(-1 + 8*x + 16*x^2 - 128*x^3 + x^4 - 8*x^5 - 16*x^6 + 128*x^7).
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Pietro Tiaraju Giavarina dos Santos, Apr 23 2020
STATUS
approved