OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..3000
MATHEMATICA
q=17; lst={}; Do[p=Prime[n]; If[PrimeQ[(q+1)*p+q], AppendTo[lst, p]], {n, 6!}]; lst
Select[Prime[Range[1000]], PrimeQ[18 # + 17]&] (* Vincenzo Librandi, Feb 03 2014 *)
PROG
(Magma) [n: n in [0..1100] | IsPrime(n) and IsPrime(18*n + 17)]; // Vincenzo Librandi, Feb 03 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 10 2009
STATUS
approved