%I #12 Jul 21 2024 12:48:39
%S 0,1,3,2,4,9,5,6,10,7,12,11,8,13,27,14,15,18,28,16,19,30,29,17,21,20,
%T 31,22,36,32,33,23,24,37,34,25,39,38,35,26,40,81,41,42,45,54,82,43,46,
%U 55,84,83,44,48,47,57,56,85,49,58,90,86,87,50,51,63,59,60
%N Distinct values of A374560, in order of appearance, with offset 0.
%C This sequence is a permutation of the nonnegative integers with inverse A374790.
%C This sequence has infinitely many fixed points (A003462 among others).
%H Rémy Sigrist, <a href="/A374789/b374789.txt">Table of n, a(n) for n = 0..9841</a>
%H Rémy Sigrist, <a href="/A374789/a374789.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(n) <= A003462(k) for any n <= A003462(k).
%e The first terms of A374560 alongside the first terms of this sequence are:
%e m A374560(m) n a(n)
%e -- ---------- - ----
%e 0 0 0 0
%e 1 1 1 1
%e 2 1
%e 3 3 2 3
%e 4 2 3 2
%e 5 3
%e 6 4 4 4
%e 7 4
%e 8 4
%e 9 4
%e 10 9 5 9
%e 11 5 6 5
%e 12 6 7 6
%o (PARI) \\ See Links section.
%Y Cf. A003462, A374560, A374790 (inverse).
%K nonn,base
%O 0,3
%A _Rémy Sigrist_, Jul 20 2024