A142959 Numbers k such that both (k!)^2 + k! + 1 and (k!)^2 + 1 are prime.
1, 2, 3, 4, 76
Offset: 1
References
- J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 76, pp 26, Ellipses, Paris 2008.
Programs
-
Mathematica
Select[Range[80],With[{c=#!},AllTrue[c^2+{c+1,1},PrimeQ]]&] (* Harvey P. Dale, Aug 11 2025 *)
Comments