login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007339 a(n) = n! - n^3.
(Formerly M4140)
7
1, 0, -6, -21, -40, -5, 504, 4697, 39808, 362151, 3627800, 39915469, 478999872, 6227018603, 87178288456, 1307674364625, 20922789883904, 355687428091087, 6402373705722168, 121645100408825141, 2432902008176632000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

REFERENCES

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..400

R. K. Hoeflin, Titan Test

Index entries for sequences related to factorial numbers

FORMULA

E.g.f.: 1/(1 - x) - x*(1 + 3*x + x^2)*exp(x). - Ilya Gutkovskiy, Jan 27 2017

MATHEMATICA

Table[n!-n^3, {n, 0, 20}] (* Harvey P. Dale, Jul 02 2012 *)

PROG

(MAGMA) [Factorial(n)-n^3: n in [0..20]]; // Vincenzo Librandi, Oct 06 2011

CROSSREFS

Cf. A000142, A000578.

Sequence in context: A031042 A064431 A031094 * A225150 A056237 A199194

Adjacent sequences:  A007336 A007337 A007338 * A007340 A007341 A007342

KEYWORD

sign

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 14 09:49 EST 2018. Contains 317182 sequences. (Running on oeis4.)