OFFSET
1,1
COMMENTS
The associated p are in A136027.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=11 because 11 is smallest prime p such that (p-2)/3 is prime.
a(2)=19 because 19 is smallest prime p such that (p-4)/5 is prime.
a(3)=41 because 41 is smallest prime p such that (p-6)/7 is prime.
MATHEMATICA
a = {}; Do[k = 1; While[ !PrimeQ[(Prime[k] - 2n)/(2n + 1)], k++ ]; AppendTo[a, Prime[k]], {n, 1, 100}]; a
PROG
(PARI) a(n)=my(t); forprime(p=2, , if(isprime(t=2*n*(p+1)+p), return(t))) \\ Charles R Greathouse IV, Mar 21 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Dec 10 2007
EXTENSIONS
Edited by R. J. Mathar, May 17 2009
STATUS
approved