OFFSET
1,1
COMMENTS
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
MAPLE
a:={}:
for i from 1 to 1229 do
if isprime(ithprime(i)+2) and ithprime(i) mod 30 = 11 then
a:={op(a), ithprime(i)}:
fi:
od:
a;
PROG
(Magma) [p: p in PrimesUpTo(5000) | IsPrime(p+2) and p mod 30 eq 11 ]; // Vincenzo Librandi, Feb 12 2017
(PARI) list(lim)=my(v=List(), p=2); forprime(q=3, lim+2, if(q-p==2 && q%30==13, listput(v, p)); p=q); Vec(v) \\ Charles R Greathouse IV, Feb 14 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Martin Renner, Feb 11 2017
STATUS
approved