%I #7 Aug 26 2023 08:57:23
%S 0,1,3,2,6,4,9,5,10,7,13,8,27,14,54,20,15,11,18,12,34,19,64,26,65,35,
%T 104,44,405,119,1539,230,21,16,24,17,42,25,75,33,76,43,118,53,433,134,
%U 1594,251,135,77,189,90,629,209,2144,377,2210,665,5564,1034
%N Inverse permutation to A364885.
%H Rémy Sigrist, <a href="/A365080/a365080.gp.txt">PARI program</a>
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F a(2^k) = A000217(k + 1) for any k >= 0.
%F Apparently, a(2^k-1) = A006893(k) for any k > 0.
%e A364885(42) = 36, hence a(36) = 42.
%o (PARI) See Links section.
%Y Cf. A000217, A006893, A364885.
%K nonn,base
%O 0,3
%A _Rémy Sigrist_, Aug 20 2023