login
Enumeration of all numbers with no repeated digits, and all digits > 0. If the digits of n are k_1, ..., k_m, sort first by 2^k_1 + ... + 2^k_m, then by n.
1

%I #6 Dec 05 2013 19:56:53

%S 1,2,12,21,3,13,31,23,32,123,132,213,231,312,321,4,14,41,24,42,34,43,

%T 124,142,214,241,134,143,314,341,234,243,324,342,423,432,1234,1243,

%U 1324,1342,1423,1432

%N Enumeration of all numbers with no repeated digits, and all digits > 0. If the digits of n are k_1, ..., k_m, sort first by 2^k_1 + ... + 2^k_m, then by n.

%C There are 986409 terms in the sequence.

%e After 3 all numbers using 1 and 3 are placed in increasing order. Then all numbers using 2 and 3 are placed in increasing order then all numbers using 1,2,3 are placed in the same fashion. And the next term is 4.

%Y Cf. A010784.

%K nonn,base,fini

%O 1,2

%A _Amarnath Murthy_, Jun 27 2004

%E Edited by _Franklin T. Adams-Watters_, Aug 23 2012