OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
19 is in the sequence because 19 is the 8th prime and 8*19 - 1 = 151 is a prime.
MATHEMATICA
Select[ Prime[ Range[ 500 ] ], PrimeQ[ # PrimePi[ # ]-1 ]& ]
PROG
(PARI) for(n=1, 200, if(isprime(n*prime(n)-1), print(prime(n))))
(PARI) { n=k=0; forprime (p=2, 5*10^5, k++; if (isprime(k*p - 1), write("b062291.txt", n++, " ", p); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 04 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 02 2001
EXTENSIONS
More terms from Harvey P. Dale, Jul 05 2001
STATUS
approved