[go: up one dir, main page]

login
A096108
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
1, 2, 12, 21, 3, 13, 31, 23, 32, 123, 132, 213, 231, 312, 321, 4, 14, 41, 24, 42, 34, 43, 124, 142, 214, 241, 134, 143, 314, 341, 234, 243, 324, 342, 423, 432, 1234, 1243, 1324, 1342, 1423, 1432
OFFSET
1,2
COMMENTS
There are 986409 terms in the sequence.
EXAMPLE
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.
CROSSREFS
Cf. A010784.
Sequence in context: A145634 A145610 A185399 * A098941 A231875 A369303
KEYWORD
nonn,base,fini
AUTHOR
Amarnath Murthy, Jun 27 2004
EXTENSIONS
Edited by Franklin T. Adams-Watters, Aug 23 2012
STATUS
approved