|
|
A179308
|
|
List of positive integers, omitting any number n if another number with the same set of digits as n has already been listed.
|
|
2
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 34, 35, 36, 37, 38, 39, 40, 45, 46, 47, 48, 49, 50, 56, 57, 58, 59, 60, 67, 68, 69, 70, 78, 79, 80, 89, 90, 102, 103, 104, 105, 106, 107, 108, 109, 123, 124, 125
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Numbers 1 to 10 are all new sets of digits. 11 is omitted because its digit set {1} is the same as that of 1. The following numbers are included, until 21 which has the same digit set as 12, and 22 which has the same set as 2.
This sequence is of course finite and has 1022 terms; the number of possible digit sets excluding the empty set and {0}.
|
|
LINKS
|
|
|
MAPLE
|
s:={}: for n from 1 to 1000 do d:=convert(convert(n, base, 10), set): if(not member(d, s))then printf("%d, ", n): s:=s union {d}: fi: od: # Nathaniel Johnston, Jun 21 2011
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,fini,full,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|