OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
MATHEMATICA
mod3Q[l_]:=Union[Mod[#, 3]&/@l]=={1}
Transpose[Select[Partition[Prime[Range[2500]], 4, 1], mod3Q]][[1]] (* Harvey P. Dale, Feb 16 2011 *)
PROG
(PARI) s=Mod([1, 1, 1, 1], 3); o=vector(#s); i=0; forprime(p=1, 3e4, o[i++%#o+1]=p; o-s|print1(o[(i+1)%#o+1]", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Feb 06 2011
STATUS
approved