login
This site is supported by donations 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

Diana Mecum, Table of n, a(n) for n = 0..1199

CROSSREFS

Cf. A139712, A002808.

Sequence in context: A165587 A010693 A158478 * A171465 A178620 A023524

Adjacent sequences:  A139710 A139711 A139712 * A139714 A139715 A139716

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 18 04:44 EST 2019. Contains 329248 sequences. (Running on oeis4.)