OFFSET
1,1
EXAMPLE
For n=1, i=4 with primes (7, 11), so that gcd(8, 12) is 4 > 2.
For n=2, i=15 with primes (48, 54, 60), so that gcd(48, 54, 60) is 6 > 2.
PROG
(PARI) a(n) = {i = 0; v = 0; while(v <= 2, i++; v = prime(i)+1; for (k=1, n, v = gcd(v, prime(i+k)+1); if (v <= 2, break; ); ); ); return (i); } \\ Michel Marcus, May 19 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Oct 05 2005
EXTENSIONS
a(8)-a(12) from Klaus Brockhaus, Oct 06 2005
a(13)-a(30) from Giovanni Resta, Jun 22 2015
STATUS
approved