OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 1+18*A165810(n).
EXAMPLE
p=2 contributes 37=18*2+1. p=7 contributes 127=18*7+1. p=11 contributes 199=18*11+1
MATHEMATICA
Select[Table[18p + 1, {p, Prime[Range[400]]}], PrimeQ] (* Vincenzo Librandi, Oct 13 2012 *)
PROG
(Magma) [a: p in PrimesInInterval(2, 1000) | IsPrime(a) where a is 18*p + 1]; // Vincenzo Librandi, Oct 13 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 28 2009
EXTENSIONS
Extended by R. J. Mathar, Oct 16 2009
STATUS
approved