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
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
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 02 2008
STATUS
approved