A085692 Brocard's problem: squares which can be written as n!+1 for some n.
25, 121, 5041
Offset: 1
Examples
5^2 = 25 = 4! + 1; 11^2 = 121 = 5! + 1; 71^2 = 5041 = 7! + 1.
References
- R. Guy, "Unsolved Problems in Number Theory", 3rd edition, D25
- Clifford A. Pickover, A Passion for Mathematics (2005) at 69, 306.
- James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 19.
Links
- Bruce C. Berndt and William F. Galway, On the Brocard-Ramanujan Diophantine Equation n! + 1 = m^2, The Ramanujan Journal, March 2000, Volume 4, Issue 1, pp 41-42.
- Robert D. Matson, Brocard's Problem 4th Solution Search Utilizing Quadratic Residues, Unsolved Problems.
- Wikipedia, Brocard's problem.
Crossrefs
Programs
-
Mathematica
Select[Range[0,100]!+1,IntegerQ[Sqrt[#]] &] (* Stefano Spezia, Jul 02 2025 *)
-
PARI
A085692=select( issquare, vector(99,n,n!+1)) \\ M. F. Hasler, Nov 20 2018
Comments