The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024040 a(n) = 4^n - n^4. 12
1, 3, 0, -17, 0, 399, 2800, 13983, 61440, 255583, 1038576, 4179663, 16756480, 67080303, 268397040, 1073691199, 4294901760, 17179785663, 68719371760, 274877776623, 1099511467776, 4398046316623, 17592185810160, 70368743897823, 281474976378880, 1125899906451999 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
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
Sequence in context: A240244 A036968 A226158 * A357811 A338489 A009759
KEYWORD
sign
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 09:25 EDT 2024. Contains 373162 sequences. (Running on oeis4.)