%I #8 Mar 03 2016 22:48:41
%S 1,2,3,4,5,6,7,8,17,10,11,12,13,14,15,16,19,18,29,20,25,22,9,24,23,26,
%T 27,28,31,30,21,32,73,34,53,36,37,38,39,40,41,42,43,44,107,46,47,48,
%U 33,50,51,52,59,54,71,56,137,58,101,60,61,62,63,64,109,66,67,68,121,70,35,72,97,74,75,76,79,78,131,80,197
%N Permutation of natural numbers: a(n) = A268674(A269379(n)).
%H Antti Karttunen, <a href="/A269356/b269356.txt">Table of n, a(n) for n = 1..10000</a>
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F a(n) = A268674(A269379(n)).
%F Other identities. For all n >= 1:
%F a(2n) = 2n. [Fixes the even numbers.]
%e For n=9 we first find what number is below 9 in square array A255127, which is 19, then we find what number is above 19 in square array A083221, which is 17, thus a(9) = 17.
%o (Scheme) (define (A269356 n) (A268674 (A269379 n)))
%Y Inverse: A269355.
%Y Cf. A268674, A269379.
%Y Cf. also arrays A083221 & A255127.
%Y More recursed variant: A269358. Cf. also permutations A266646, A255408, A269172.
%K nonn
%O 1,2
%A _Antti Karttunen_, Mar 03 2016
|