login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126882 a(1)=2. a(n) is the a(n-1)st integer from among those positive integers coprime to a(n-1). 1
2, 3, 4, 7, 8, 15, 28, 65, 87, 134, 271, 272, 577, 578, 1227, 1844, 3695, 4624, 9825, 18562, 37127, 37537, 37538, 75627, 113480, 283799, 283800, 1198543, 1201967, 1302144, 3907583, 3907584, 11948189, 13143019, 13151298, 39453911, 46029570 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

FORMULA

a(n) = A069213(a(n-1)).

EXAMPLE

a(4)=7. So a(5) is the 7th positive integer which is coprime to 7. 7 is coprime to 1,2,3,4,5,6,8,9,10,... So a(5) is the 7th of these, which is 8.

MATHEMATICA

f[n_] := Block[{k = 0, c = n}, While[c > 0, k++; While[GCD[k, n] > 1, k++ ]; c--; ]; k]; g[l_] := Append[l, f[l[[ -1]]]]; Nest[g, {2}, 36] (* Ray Chandler, Dec 31 2006 *)

CROSSREFS

Cf. A069213, A126881.

Sequence in context: A227007 A126850 A007497 * A239973 A281782 A006549

Adjacent sequences:  A126879 A126880 A126881 * A126883 A126884 A126885

KEYWORD

nonn

AUTHOR

Leroy Quet, Dec 29 2006

EXTENSIONS

Extended by Ray Chandler, Dec 31 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 8 14:38 EST 2019. Contains 329865 sequences. (Running on oeis4.)