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!)
A123302 a(0) = 1. a(n) = the n-th integer from among those positive integers coprime to a(n-1). 1
1, 1, 2, 5, 4, 9, 8, 13, 8, 17, 10, 27, 17, 13, 15, 28, 37, 17, 19, 20, 49, 24, 65, 31, 24, 73, 26, 57, 44, 63, 52, 67, 32, 65, 46, 73, 36, 109, 38, 81, 59, 41, 43, 44, 95, 59, 46, 97, 48, 145, 64, 101, 52, 113, 54, 163, 56, 131, 58, 121, 65, 82, 127, 63, 110, 177, 100, 167, 68 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
The positive integers coprime to a(6)=8 are 1,3,5,7,9,11,13,15,17,19... The seventh of these is 13, so a(7) = 13.
MATHEMATICA
f[l_List] := Block[{k = 0, c = Length[l]}, While[c > 0, k++; While[ GCD[k, l[[ -1]]] > 1, k++ ]; c--; ]; Append[l, k]]; Nest[f, {1}, 70] (* Ray Chandler, Nov 11 2006 *)
CROSSREFS
Sequence in context: A283419 A114752 A204923 * A227368 A339597 A368736
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 08 2006
EXTENSIONS
Extended by Ray Chandler, Nov 11 2006
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 April 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)