login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A317250 Record values in A204911. 1
5, 7, 11, 13, 17, 31, 43, 47, 53, 67, 73, 79, 101, 127, 137, 157, 179, 181 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..18.

FORMULA

a(n) = A204911(A317249(n)).

EXAMPLE

a(1)=A204911(1)=5.

a(2)=7 because A204911(4)=7 while A204911(k)<=5 for k<4.

a(3)=11 because A204911(20)=11 while A204911(k)<=7 for k<20.

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:r:= 5: Recvals:= 5:

for n from 2 to 20000 do

rn:= f(n);

if rn > r then Recvals:= Recvals, rn; r:= rn fi

od:

Recs;

CROSSREFS

Cf. A204911, A317249.

Sequence in context: A114262 A255229 A230217 * A007529 A287956 A266266

Adjacent sequences: A317247 A317248 A317249 * A317251 A317252 A317253

KEYWORD

nonn,more

AUTHOR

Robert Israel, 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 27 13:59 EST 2022. Contains 358405 sequences. (Running on oeis4.)