login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A121711
Lexicographically earliest permutation of the natural numbers such that gcd(s(k-1)+1, a(k)) greater than gcd(s(k-1), a(k)+1), where s is the sum of preceding terms (A121712); a(1)=1.
5
1, 2, 4, 8, 6, 10, 12, 11, 15, 5, 3, 9, 18, 14, 7, 16, 22, 20, 23, 21, 19, 13, 24, 26, 25, 30, 35, 28, 32, 34, 36, 38, 40, 42, 39, 52, 33, 27, 45, 46, 48, 44, 41, 50, 43, 54, 56, 58, 60, 62, 55, 49, 51, 57, 63, 17, 64, 66, 61, 31, 68, 65, 69, 59, 37, 70, 72, 76, 53, 47, 74, 78
OFFSET
1,2
COMMENTS
gcd(A121712(n-1)+1, a(n)) > gcd(A121712(n-1), a(n)+1);
inverse: A121713; fixed points: A121716;
a(a(n)) = A121714(n).
CROSSREFS
Sequence in context: A352763 A022478 A320151 * A249681 A256561 A125597
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 18 2006
STATUS
approved