OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
2 is in the sequence because p(2) + 5*2 = 3 + 10 = 13 is prime.
MATHEMATICA
Select[Range[300], PrimeQ[Prime[#]+5#]&] (* Harvey P. Dale, Nov 27 2013 *)
PROG
(Magma) [n: n in [0..500]| IsPrime(NthPrime(n) +5*n)]; // Vincenzo Librandi, Apr 06 2011
(PARI) select(x->isprime(x), vector(500, n, prime(n) + 5*n), 1) \\ Michel Marcus, Jan 15 2015
(PARI) isok(n) = isprime(prime(n) + 5*n); \\ Michel Marcus, May 05 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 05 2002
STATUS
approved