login
Position of A329899(n) in A025487.
8

%I #9 Dec 24 2019 17:31:17

%S 1,1,2,2,3,4,5,6,4,7,3,8,9,10,11,12,13,14,15,6,16,9,5,17,18,19,20,21,

%T 22,23,24,25,26,27,28,29,30,11,31,32,8,33,13,7,34,35,36,37,38,39,40,

%U 41,42,22,43,44,45,46,47,48,49,50,51,52,53,54,55,56,15,57,58,20,12,59,60,61,17,62,10,63,64,65,66,67,68,69

%N Position of A329899(n) in A025487.

%C Restricted growth sequence transform of A329899.

%C Each positive natural number occurs exactly twice.

%C For all i, j > 1:

%C a(i) = a(j) => A329907(i) = A329907(j).

%H Antti Karttunen, <a href="/A329904/b329904.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A085089(A329899(n)).

%o (PARI) A329904(n) = { my(k=A329899(n)); for(i=1,oo,if(A025487(i)==k,return(i))); };

%Y Cf. A025487, A085089, A329899, A329905, A329907.

%K nonn

%O 1,3

%A _Antti Karttunen_, Dec 24 2019