login
A154664
Numbers k such that k!^2 + 7493 and abs(k!^2 - 7493) are primes.
1
3, 4, 5, 6, 12
OFFSET
1,1
COMMENTS
Next term is larger than 72.
Next term is larger than 1000. - Harvey P. Dale, Feb 03 2016
There are no more terms: none were found in a search past 7493 and (k!)^2 + 7493 is divisible by 7493 for all k >= 7493. - Michael S. Branicky, May 18 2026
MATHEMATICA
lst={}; a=7493; Do[If[PrimeQ[n!^2-a]&&PrimeQ[n!^2+a], AppendTo[lst, n]], {n, 3*4!}]; lst
Select[Range[20], AllTrue[(#!)^2+{7493, -7493}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Feb 03 2016 *)
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
EXTENSIONS
Definition corrected by Georg Fischer, May 18 2026
STATUS
approved