login
Lexicographically earliest sequence such that a(m)<>a(n) for all m with m<>n except either for m=2*n or n=2*m.
3

%I #4 Apr 04 2015 21:38:08

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

%T 10,21,11,22,12,23,24,25,13,26,14,27,15,28,29,30,16,31,32,33,17,34,35,

%U 36,18,37,19,38,20,39,40,41,21,42,43,44,22,45,46,47,23,48,24,49,25,50

%N Lexicographically earliest sequence such that a(m)<>a(n) for all m with m<>n except either for m=2*n or n=2*m.

%C a(4*n-2) = a(2*n-1): a(A016825(n)) = a(A005408(n));

%C a(2*A003159(n)) = a(A003159(n));

%C if a(m)=a(n) with m<n then A035263(m)=1 and A035263(n)=0.

%K nonn

%O 1,3

%A _Reinhard Zumkeller_, Aug 16 2006