login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 9 04:13 EST 2022. Contains 358698 sequences. (Running on oeis4.)