OFFSET
1,2
REFERENCES
Hazewinkel, Michiel, ed. (2001) [1994], Gamma Function, Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..89 (all terms up to 10^6, n = 1..70 from Jon E. Schoenfield)
EXAMPLE
For n=6, ceiling(sqrt(6!))=27, (ceiling(sqrt(6!))^2=729, and 729-27 = 702, which is a multiple of 6.
MATHEMATICA
Select[Range[4600], Divisible[Ceiling[Sqrt[#!]]^2-Ceiling[Sqrt[#!]], #]&] (* Harvey P. Dale, Mar 02 2023 *)
PROG
(PARI) default(realprecision, 10^5); for(n=1, 10^4, if( Mod( ceil(sqrt(n!)) - ceil(sqrt(n!))^2 , n) == 0, print1(n, ", "))); \\ Joerg Arndt, Jun 17 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Ivan Stoykov, Jun 17 2018
EXTENSIONS
Terms > 99 from Joerg Arndt, Jun 17 2018
STATUS
approved