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!)
A204911 The prime q>=5 such that n divides p-q, where p>q is the least prime for which such a prime q exists. 5
5, 5, 5, 7, 7, 5, 5, 5, 5, 7, 7, 5, 5, 5, 7, 7, 7, 5, 5, 11, 5, 7, 7, 5, 11, 5, 5, 13, 13, 7, 5, 5, 5, 7, 13, 5, 5, 5, 5, 7, 7, 5, 11, 17, 7, 7, 7, 5, 5, 11, 5, 7, 7, 5, 17, 5, 13, 13, 13, 7, 5, 5, 5, 7, 7, 5, 5, 5, 11, 13, 7, 7, 5, 5, 7, 7, 13, 5, 5, 17, 5, 7, 7, 5, 11, 11, 5, 13, 13, 7, 11, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

For a guide to related sequences, see A204892.

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

f:= proc(n) local V, q, r;

  V:= Array(0..n-1); q:= 4;

  do

   q:= nextprime(q);

   r:= q mod n;

   if V[r] = 0 then V[r]:= q

   else return V[r]

   fi

  od

end proc:

map(f, [$1..100]); # Robert Israel, Jul 24 2018

MATHEMATICA

(See the program at A204908.)

CROSSREFS

Cf. A204908, A204900, A204892.

Sequence in context: A205236 A266948 A176172 * A087516 A194428 A299695

Adjacent sequences:  A204908 A204909 A204910 * A204912 A204913 A204914

KEYWORD

nonn

AUTHOR

Clark Kimberling, Jan 20 2012

EXTENSIONS

More terms from Robert G. Wilson v, Jul 24 2018

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 September 23 22:32 EDT 2020. Contains 337315 sequences. (Running on oeis4.)