OFFSET
1,4
MATHEMATICA
k = 1; Do[ While[p = Table[2*i*k + 1, {i, 1, n}]; Union[ PrimeQ[p]] != {True}, k++ ]; Print[k], {n, 1, 15}] (* Robert G. Wilson v *)
PROG
(PARI) for(n=1, 6, s=1; while(sum(i=1, n, isprime(2*s*i+1))<n, s++); print1(s, ", "))
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Benoit Cloitre, May 31 2002
EXTENSIONS
Extended by Robert G. Wilson v, Jun 06 2002
a(9) from Ryan Propper, Jun 20 2005
a(10)-a(13) from Don Reble, Nov 05 2006
a(14) from Giovanni Resta, Apr 01 2017
STATUS
approved