OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Robert G. Wilson v, Letter to N. J. A. Sloane, Aug. 1993
MAPLE
X:= Vector(4): X[2]:= 1: m:= 3: p:= 3: count:= 1: R:= 2:
for i from 2 while count < 100 do
p:= nextprime(p);
j:= ((p mod 8)+1)/2;
X[j]:= X[j]+1;
mp:= max[index](X);
if mp <> m and X[mp] > X[m] then
m:= mp;
R:= R, p;
count:= count+1;
fi
od:
R; # Robert Israel, Nov 21 2024
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Sean A. Irvine, Dec 29 2017
STATUS
approved