|
| |
|
|
A100596
|
|
Numbers n such that (prime(n)-1)! + prime(n)^10 is prime.
|
|
0
| | |
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| n={2, 8, 15, 33, 52} yields primes p(n)={3, 19, 47, 137, 239}. There are no more such n up to n=150. Computed in collaboration with Ray Chandler.
|
|
|
FORMULA
| Primes of the form (prime(n)-1)! + prime(n)^10, where prime(n) is the n-th prime.
|
|
|
EXAMPLE
| a(1) = 2 because (prime(2)-1)! + prime(2)^10 = (3-1)! + 3^10 = 59051 is the smallest prime of that form.
a(2) = 8 because (prime(8)-1)! + prime(8)^10 = (19-1)! + 19^10 = 6408504771985801 is the 2nd smallest prime of that form.
|
|
|
MATHEMATICA
| lst={}; Do[p=Prime[n]; If[PrimeQ[(p-1)!+p^10], AppendTo[lst, n]], {n, 10^2}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 08 2008]
|
|
|
CROSSREFS
| Cf. A100858.
Sequence in context: A189952 A077598 A095298 * A082638 A077388 A203419
Adjacent sequences: A100593 A100594 A100595 * A100597 A100598 A100599
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Jonathan Vos Post (jvospost3(AT)gmail.com), Nov 30 2004
|
| |
|
|