OFFSET
1,5
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..8000
FORMULA
a(n) = floor((n+3)/4)^((-8*(n mod 4)^3 + 33*(n mod 4)^2 - 31*(n mod 4) + 18)/6). - Luce ETIENNE, Apr 07 2018
From Chai Wah Wu, Jan 10 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 + 3*x^11 - 3*x^10 - 11*x^9 + x^8 - 3*x^7 + 3*x^6 - 11*x^5 + x^4 - x^3 - x^2 - x - 1)/((x - 1)^5*(x + 1)^5*(x^2 + 1)^5). (End)
MATHEMATICA
Flatten[Table[{n^2, n^4, n, n^3}, {n, 20}]] (* Harvey P. Dale, Oct 10 2012 *)
PROG
(Magma) &cat[[n^2, n^4, n, n^3]: n in [1..20]]; // Vincenzo Librandi, Nov 25 2012
(GAP) Flat(List([1..20], n->[n^2, n^4, n, n^3])); # Muniru A Asiru, Apr 08 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Sep 14 2005
STATUS
approved