[go: up one dir, main page]

login
A154664
Numbers n such that n!^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
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