OFFSET
1,1
COMMENTS
All terms are congruent to 3 mod 4 and (with the exception of the first term) to 7 mod 12.
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
MATHEMATICA
aa = {}; k = 31; Do[If[PrimeQ[(k + Prime[n])/2], AppendTo[aa, Prime[n]]], {n, 1, 500}]; aa
Select[Prime[Range[500]], PrimeQ[(31+#)/2]&] (* Harvey P. Dale, Feb 05 2012 *)
PROG
(PARI) list(n)=my(t=1, p, i=1); while(i<n, p=prime(i); i=i+1; if(p>2&&isprime((31+p)/2), print1(p, ", "))) \\ Anders Hellström, Jan 23 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 11 2008
STATUS
approved