OFFSET
1,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 5, 0, 0, 0, -10, 0, 0, 0, 10, 0, 0, 0, -5, 0, 0, 0, 1).
FORMULA
a(n) = (2*n+3-(-1)^n+2*(-1)^((2*n+5-(-1)^n)/4))*(n^3+4*n^2+32*n+96+(n^3+4*n^2-64)*(-1)^n-(n^3-4*n^2-64)*(-1)^((2*n+5-(-1)^n)/4)+(n^3-4*n^2-32*n+32)*(-1)^((2*n+7+(-1)^n)/4))/2048. - Luce ETIENNE, Sep 01 2016
From Chai Wah Wu, Jan 11 2020: (Start)
a(n) = 5*a(n-4) - 10*a(n-8) + 10*a(n-12) - 5*a(n-16) + a(n-20) for n > 20.
G.f.: x*(-x^15 - x^14 + x^13 + x^12 - 11*x^11 + x^10 + 3*x^9 - 3*x^8 - 11*x^7 + x^6 - 3*x^5 + 3*x^4 - x^3 - x^2 - x - 1)/((x - 1)^5*(x + 1)^5*(x^2 + 1)^5). (End)
MATHEMATICA
Table[{n, n^3, n^2, n^4}, {n, 1, 15}] // Flatten (* Jean-François Alcover, Sep 01 2016 *)
PROG
(Magma) &cat[[n, n^3, n^2, n^4]: n in [1..15]]; // Bruno Berselli, Sep 01 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Mohammad K. Azarian, Sep 02 2005
STATUS
approved