|
|
A180410
|
|
Unique digits used in n in numerical order.
|
|
5
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 12, 13, 14, 15, 16, 17, 18, 19, 2, 12, 2, 23, 24, 25, 26, 27, 28, 29, 3, 13, 23, 3, 34, 35, 36, 37, 38, 39, 4, 14, 24, 34, 4, 45, 46, 47, 48, 49, 5, 15, 25, 35, 45, 5, 56, 57, 58, 59, 6, 16, 26, 36, 46, 56, 6, 67, 68, 69, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 0123456789 after any digits not appearing in n are removed.
|
|
EXAMPLE
|
a(93077) = 0379 = 379. Seven is only used once and the digits are sorted. The initial zero is not shown.
|
|
MAPLE
|
a:= n-> parse(cat(sort([{convert(n, base, 10)[]}[]])[])):
|
|
PROG
|
(Haskell)
import Data.List (nub, sort)
a180410 = read . sort . nub . show :: Integer -> Integer
|
|
CROSSREFS
|
This is identical to A180409 with the zeros removed.
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|