|
Search: id:A084750
|
|
|
| A084750 |
|
Numbers n such that n! - p is a prime, where p is the smallest prime > n. |
|
+0 4
|
|
| 4, 5, 10, 11, 12, 14, 29, 53, 81, 90, 116, 236, 323, 346, 1172, 2957
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Numbers n such that n!-NextPrime[n] is prime.
If n != 3, there does not exist a prime p and a number n such that n!-NextPrime[n] < p < n!-1. - Farideh Firoozbakht (f.firoozbakht(AT)math.ui.ac.ir), Feb 26 2004
|
|
EXAMPLE
|
10 is in the sequence because 10!=3628800,NextPrime[10]=11 and 3628800-11 is prime.
|
|
MATHEMATICA
|
Do[If[PrimeQ[k!-NextPrime[k]], Print[k]], {k, 0, 1425}] (Firoozbakht)
|
|
CROSSREFS
|
Cf. A084749, A050299, A002982, A064401, A084751.
Adjacent sequences: A084747 A084748 A084749 this_sequence A084751 A084752 A084753
Sequence in context: A060648 A092961 A115945 this_sequence A092027 A131855 A102858
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), Jun 16 2003
|
|
EXTENSIONS
|
More terms from Farideh Firoozbakht (f.firoozbakht(AT)math.ui.ac.ir), Feb 26 2004
2957 from Ryan Propper (rpropper(AT)stanford.edu), Jul 09 2005
Edited by njas at the suggestion of Ryan Propper, Jan 26 2008
|
|
|
Search completed in 0.006 seconds
|