|
Search: id:A096986
|
|
|
| A096986 |
|
Numbers n such that n*n! + (smallest prime > n) is prime. |
|
+0 3
|
|
| 1, 2, 3, 4, 5, 6, 7, 8, 23, 29, 30, 31, 40, 164, 176, 189, 218, 370, 597, 603, 1473, 1901, 2176
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Note that Maple, Pari etc. have different notions of what "next prime" means!
|
|
EXAMPLE
|
8 is in the sequence because 8*8!+ 11 is prime.
|
|
MATHEMATICA
|
<< NumberTheory`NumberTheoryFunctions`; v={}; Do[If[PrimeQ [n*n!+NextPrime[n]], v=Append[v, n]; Print[v]], {n, 2400}]
|
|
CROSSREFS
|
Cf. A096985, A090704, A049433, A108270
Adjacent sequences: A096983 A096984 A096985 this_sequence A096987 A096988 A096989
Sequence in context: A037343 A134942 A053408 this_sequence A031097 A024651 A004848
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
Farideh Firoozbakht (f.firoozbakht(AT)math.ui.ac.ir), Jul 31 2004
|
|
|
Search completed in 0.002 seconds
|