login
Rearrangement of natural numbers according to sums of odd and even digits.
1

%I #4 Mar 30 2012 17:26:11

%S 0,112,1,2,121,3,4,134,5,6,143,7,8,156,9,12,165,10,14,178,11,16,187,

%T 13,18,211,15,20,314,17,21,336,19,22,341,23,24,358,25,26,363,27,28,

%U 385,29,34,413,30,36,431,31,38,516,32,40,538,33,41,561,35,42,583,37,43,615,39

%N Rearrangement of natural numbers according to sums of odd and even digits.

%C Sum of odd digits (less than, equals and larger than) sum of even digits A103829, A036301, 103848.

%F n=3k-2, a(n)=A103829(k); n=3k-1, a(n)=A036301(k); n=3k-1, a(n)=A103848(k); (k=1, 2, ...)

%e k=1: a(1)=A103829(1), a(2)=A036301(1), a(3)=A103848(1).

%Y Cf. A036301, A103829, A103848.

%K nonn,base

%O 1,2

%A _Zak Seidov_, Feb 18 2005