|
|
A154664
|
|
Numbers n such that n!^2-+7493 are primes.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Next term is larger than 72
|
|
LINKS
|
|
|
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
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|