OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..7000
A. Granville and G. Martin, Prime number races, arXiv:math/0408319 [math.NT], 2004.
EXAMPLE
47 is a term because 8 consecutive primes {47, 53, 59, 61, 67, 71, 73, 79} are congruent to {17, 23, 29, 1, 7, 11, 13, 19} mod 30; all distinct by modulo 30.
PROG
(PARI) isok(n) = {v = []; for (i=0, 7, pm = prime(i+n) % 30; if (! vecsearch(v, pm), v = vecsort(concat(v, pm)), return (0)); ); return (1); }
lista(nn) = {forprime(p=2, nn, if (isok(primepi(p)), print1(p, ", ")); ); } \\ Michel Marcus, Oct 06 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 03 2014
STATUS
approved