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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139713 a(0)=1. For n >=1, a(n) = largest positive integer < a(n-1) that is not coprime to the n-th composite, if such an integer exists. Otherwise, a(n) = smallest integer > a(n-1) that is not coprime to the n-th composite. 2
1, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 5, 4, 3, 2, 3, 2, 3, 2, 5, 4, 2, 3, 2, 3, 2, 3, 2, 3, 7, 6, 3, 2, 3, 5, 4, 3, 2, 3, 2, 3, 2, 5, 4, 2, 3, 2, 3, 2, 3, 2, 7, 6, 5, 3, 2, 3, 5, 4, 3, 2, 3, 7, 6, 3, 2, 5, 4, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 5, 4, 3, 2, 7, 6, 11, 10, 9, 8, 5, 4, 2, 3, 2, 3, 7, 6, 5, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
CROSSREFS
Sequence in context: A356464 A010693 A158478 * A171465 A178620 A342866
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 30 2008
EXTENSIONS
More terms from Diana L. Mecum, Jul 24 2008
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 August 8 11:12 EDT 2024. Contains 375021 sequences. (Running on oeis4.)