%I #7 Mar 18 2022 21:53:32
%S 0,2,5,8,4,1,3,7,12,18,25,33,26,19,13,9,14,20,27,35,44,53,43,34,42,52,
%T 63,74,62,51,61,73,86,99,85,72,60,49,39,31,40,50,41,32,24,17,11,6,10,
%U 16,23,30,22,15,21,29,38,47,37,28,36,46,57,69,82,96,83,70,58,48,59,71
%N Inverse permutation to A163336.
%C abs(A025581(a(n+1))-A025581(a(n))) + abs(A002262(a(n+1))-A002262(a(n))) = 1 for all n.
%H A. Karttunen, <a href="/A163337/b163337.txt">Table of n, a(n) for n = 0..6560</a>
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%Y Inverse: A163336. a(n) = A163331(A163332(n)) = A061579(A163335(n)). One-based version: A163341. See also A163335, A163358.
%K nonn
%O 0,2
%A _Antti Karttunen_, Jul 29 2009