login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A004664
a(n) = n! + n^2.
4
1, 2, 6, 15, 40, 145, 756, 5089, 40384, 362961, 3628900, 39916921, 479001744, 6227020969, 87178291396, 1307674368225, 20922789888256, 355687428096289, 6402373705728324, 121645100408832361, 2432902008176640400, 51090942171709440441, 1124000727777607680484
OFFSET
0,2
COMMENTS
It appears that n! + n^2 is not a perfect square for n >= 1. - Alexander R. Povolotsky, Sep 26 2008
FORMULA
Possible recurrence relation (according to WolframAlpha): a(n+2) = ((n+2)*(n^3+n^2-n-2)*a(n+1))/(n^3-2*n-1)-((n+2)*(n^2+n-1)*a(n))/(n^2-n-1). - Alexander R. Povolotsky, Nov 06 2010
MATHEMATICA
Table[n! + n^2, {n, 0, 20}] (* Stefan Steinerberger, Apr 11 2006 *)
PROG
(Magma) [Factorial(n) + n^2: n in [0..25]]; // Vincenzo Librandi, Jul 26 2013
CROSSREFS
Sequence in context: A316981 A319560 A061322 * A074446 A303551 A180666
KEYWORD
nonn
EXTENSIONS
One more term from Stefan Steinerberger, Apr 11 2006
STATUS
approved