login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A297406
Where the prime race among 8k+1, ..., 8k+7 changes leader.
9
2, 11, 37, 83, 197, 227, 271, 293, 347, 373, 487, 547, 853, 907, 1069, 1447, 1733, 1831, 1949, 2027, 2053, 2131, 2237, 2251, 2309, 2719, 2749, 3019, 3061, 3083, 3733, 3779, 3877, 3931, 4919, 5179, 5303, 5347, 5407, 6661, 6911, 6949, 6967, 7459, 7789
OFFSET
1,1
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
KEYWORD
nonn,look
AUTHOR
Sean A. Irvine, Dec 29 2017
STATUS
approved