login
Self-inverse permutation of natural numbers induced by the restriction of A243057 (or A243059 or A242420) to the union of {1} and A102750.
3

%I #11 Jun 05 2014 01:31:29

%S 1,2,3,4,5,6,12,8,9,10,27,7,13,14,36,16,62,18,19,121,148,22,23,24,43,

%T 191,11,28,283,75,113,32,87,34,481,15,388,38,39,160,1456,42,25,795,

%U 213,602,47,74,49,818,51,52,339,54,2699,345,57,58,59,1053,5219,17,914,64

%N Self-inverse permutation of natural numbers induced by the restriction of A243057 (or A243059 or A242420) to the union of {1} and A102750.

%H Antti Karttunen, <a href="/A243286/b243286.txt">Table of n, a(n) for n = 1..126</a>

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

%F a(1) = 1, and for n>1, a(n) = 1 + A243285(A243057(A102750(n-1))). [Note: instead of A243057 one can also use A243059 or A242420.]

%e With n=7, the seventh number in the complement of A070003 (i.e. in the union of {1} and A102750) is A102750(6) = 10. When A243057 (or A243059) is applied to it, the result is another number that is a member of A102750, in this case 15, which occurs there as A102750(11). Thus a(7) = 11+1 = 12.

%o (Scheme) (define (A243286 n) (if (<= n 1) n (+ 1 (A243285 (A243057 (A102750 (- n 1)))))))

%Y Cf. A243057, A243059, A102750, A243285, A242420.

%K nonn

%O 1,2

%A _Antti Karttunen_, Jun 02 2014