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

If n is squarefree then A100114(A100112(n)) else n.
2

%I #7 Mar 30 2012 18:50:48

%S 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,

%T 27,28,57,15,61,32,21,29,34,36,66,39,22,40,71,33,87,44,45,46,94,48,49,

%U 50,31,52,102,54,35,56,42,55,110,60,115,62,63,64,37,43,123,68,51,38,139

%N If n is squarefree then A100114(A100112(n)) else n.

%C Permutation of the natural numbers with inverse A100115;

%C a(A013929(n)) = A013929(n).

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%Y Cf. A005117.

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Nov 07 2004