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!)
A135609 a(n) = (n!)^2 - n^n. 1
0, 0, 0, 9, 320, 11275, 471744, 24578057, 1608925184, 131294473911, 13158189440000, 1593065610569389, 229433616702111744, 38775485168526047747, 7600043344545171881984, 1710011814830309043140625, 437763118250650978834448384, 126513545678306908298879235823 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

a(n) > 0 for n>2.

REFERENCES

C. Smith, A Treatise on Algebra, Macmillan, London, 5th ed., 1950, p. 445.

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..100

FORMULA

a(n) = A001044(n) - A000312(n). - Michel Marcus, Oct 23 2016

MATHEMATICA

Join[{0}, Table[(n!)^2 - n^n, {n, 1, 25}]] (* G. C. Greubel, Oct 22 2016 *)

PROG

(MAGMA) [Factorial(n)^2-n^n: n in [0..20]]; // Vincenzo Librandi, Oct 23 2016

(PARI) a(n) = (n!)^2 - n^n; \\ Michel Marcus, Oct 23 2016

CROSSREFS

Cf. A001044, A000312.

Sequence in context: A288324 A317634 A198401 * A349287 A277422 A266065

Adjacent sequences:  A135606 A135607 A135608 * A135610 A135611 A135612

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Mar 02 2008

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 August 16 14:26 EDT 2022. Contains 356168 sequences. (Running on oeis4.)