login
A024041
a(n) = 4^n - n^5.
2
1, 3, -16, -179, -768, -2101, -3680, -423, 32768, 203095, 948576, 4033253, 16528384, 66737571, 267897632, 1072982449, 4293918720, 17178449327, 68717587168, 274875430845, 1099508427776
OFFSET
0,2
LINKS
FORMULA
From Chai Wah Wu, Jul 10 2016: (Start)
a(n) = 10*a(n-1) - 39*a(n-2) + 80*a(n-3) - 95*a(n-4) + 66*a(n-5) - 25*a(n-6) + 4*a(n-7) for n > 6.
G.f.: (-5*x^6 - 97*x^5 - 253*x^4 - 18*x^3 + 7*x^2 + 7*x - 1)/((x - 1)^6*(4*x - 1)). (End)
MATHEMATICA
Table[4^n-n^5, {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Feb 15 2011 *)
PROG
(Magma) [4^n-n^5: n in [0..30]]; // Vincenzo Librandi, Jul 02 2011
CROSSREFS
Sequence in context: A297668 A203593 A304902 * A152554 A254430 A180721
KEYWORD
sign,easy
STATUS
approved