OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (9,-30,50,-45,21,-4).
FORMULA
G.f.: (1-6*x+3*x^2+23*x^3+48*x^4+3*x^5)/((1-4*x)*(1-x)^5).
E.g.f.: exp(4*x)-(x^4+6*x^3+7*x^2+x)*exp(x). - Robert Israel, Dec 29 2014
MAPLE
seq(4^n - n^4, n=0..50); # Robert Israel, Dec 29 2014
MATHEMATICA
lst={}; Do[AppendTo[lst, 4^n-n^4], {n, 0, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 15 2009 *)
Table[4^n-n^4, {n, 0, 40}] (* Harvey P. Dale, Nov 10 2019 *)
PROG
(Magma) [4^n-n^4: n in [0..30]]; // Vincenzo Librandi, May 14 2011
CROSSREFS
KEYWORD
sign
AUTHOR
STATUS
approved