|
|
A084751
|
|
Primes of the form k! - p, where p is the smallest prime > k.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MATHEMATICA
|
For[n = 1, n < 60, n++, If[PrimeQ[n! - Prime[PrimePi[n] + 1]], Print[n! - Prime[PrimePi[n] + 1]]]] (Steinerberger)
Select[Table[n!-NextPrime[n], {n, 100}], PrimeQ] (* Harvey P. Dale, May 02 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jun 16 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|