OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
Prime(126)*pi(126)+1 = 701*30+1 = 21031 which is prime, hence 126 is in the sequence.
MAPLE
MATHEMATICA
Select[Range[2000], PrimeQ[Prime[#]*PrimePi[#]+1]&]
PROG
(PARI) n=0; forprime(p=2, 1e5, if(isprime(p*primepi(n++)+1), print1(n", "))) \\ Charles R Greathouse IV, Jul 23 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Jul 23 2013
STATUS
approved