login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A297407 Where the prime race among 9k+1, ..., 9k+8 changes leader. 9
2, 167, 191, 419, 461, 563, 587, 617, 677, 761, 857, 881, 929, 1427, 1451, 1607, 1667, 1777, 1823, 1867, 1913, 2351, 2399, 2459, 4127, 4583, 5039, 5087, 5171, 7283, 7349, 7517, 7547, 7643, 7691, 7901, 8681, 8837, 8933, 11243, 11903, 11927 (list; graph; refs; listen; history; text; internal format)
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

V:= <(0$8)>:

lead:= 1:

Res:= NULL:

count:= 0:

p:= 1:

while count < 100 do

  p:= nextprime(p);

  t:= p mod 9;

  V[t]:= V[t]+1;

  if V[t] > V[lead] then

    lead:= t;

    Res:= Res, p;

    count:= count+1;

  fi

od:

Res; # Robert Israel, Jan 01 2018

CROSSREFS

Cf. A007352, A007350, A007353, A007354, A297406, A297407, A297408, A297410, A297411.

Sequence in context: A230912 A339009 A139928 * A142602 A200042 A005020

Adjacent sequences:  A297404 A297405 A297406 * A297408 A297409 A297410

KEYWORD

nonn

AUTHOR

Sean A. Irvine, Dec 29 2017

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 16:06 EDT 2021. Contains 348065 sequences. (Running on oeis4.)