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”).

A100116
If n is squarefree then A100114(A100112(n)) else n.
2
1, 2, 5, 4, 7, 3, 13, 8, 9, 10, 19, 12, 23, 11, 6, 16, 30, 18, 41, 20, 14, 17, 47, 24, 25, 26, 27, 28, 57, 15, 61, 32, 21, 29, 34, 36, 66, 39, 22, 40, 71, 33, 87, 44, 45, 46, 94, 48, 49, 50, 31, 52, 102, 54, 35, 56, 42, 55, 110, 60, 115, 62, 63, 64, 37, 43, 123, 68, 51, 38, 139
OFFSET
1,2
COMMENTS
Permutation of the natural numbers with inverse A100115;
a(A013929(n)) = A013929(n).
CROSSREFS
Cf. A005117.
Sequence in context: A129491 A021801 A102513 * A366682 A107921 A171760
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 07 2004
STATUS
approved