OFFSET
4,1
COMMENTS
In the solution set of the equation, n! + s^2 = m^2, for any n>=4 the maximum value of s is (n!-4)/4. - Sudipta Mallick, Jul 27 2019
LINKS
Sudipta Mallick, Table of n, a(n) for n = 4..400 (terms 4..300 from Vincenzo Librandi)
FORMULA
a(n) = numerator(((n+2)!-4)/(7*(n+2)!)), with offset 2. [Gary Detlefs, Nov 07 2010]
E.g.f.: -exp(x)-(12+x^2*(-6+(-4+x)*x))/(12*(-1+x)). - Stefano Spezia, Sep 08 2019
MATHEMATICA
Table[(n! - 4)/4, {n, 4, 20}]
PROG
(Magma) [(Factorial(n)-4)/4: n in [4..25]]; // Vincenzo Librandi, Jul 20 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Apr 11 2008
EXTENSIONS
Definition corrected by Gary Detlefs, Nov 07 2010
STATUS
approved