login
Distinct values of A368795, in order of appearance and with offset 0.
2

%I #11 Jan 07 2024 16:32:25

%S 0,1,2,4,5,9,3,10,7,8,6,11,15,12,13,17,14,25,20,18,22,28,26,23,16,24,

%T 34,21,35,36,29,32,31,19,30,37,27,41,43,44,38,40,39,51,33,59,56,45,53,

%U 52,60,57,55,47,69,58,49,42,50,68,76,64,75,46,67,63,62,66

%N Distinct values of A368795, in order of appearance and with offset 0.

%C Is this a permutation of the nonnegative integers?

%H Rémy Sigrist, <a href="/A368797/b368797.txt">Table of n, a(n) for n = 0..10000</a>

%H Rémy Sigrist, <a href="/A368797/a368797.txt">C++ program</a>

%e The first terms, alongside the first terms of A368795, are:

%e n a(n) k A368795(k)

%e -- ---- -- ----------

%e 0 0 0 0

%e 1 1 1 1

%e 2 1

%e 2 2 3 2

%e 3 4 4 4

%e 5 2

%e 6 2

%e 7 1

%e 8 1

%e 9 4

%e 10 2

%e 11 4

%e 4 5 12 5

%e 13 5

%e 5 9 14 9

%e 6 3 15 3

%o (C++) See Links section.

%Y Cf. A368795, A368796.

%K nonn,look

%O 0,3

%A _Rémy Sigrist_, Jan 06 2024