login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,2
COMMENTS
a(n) = A227362(n) - A151949(n). - Reinhard Zumkeller, Jul 09 2013
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)[]}[]])[])):
seq(a(n), n=1..70); # Alois P. Heinz, Sep 21 2022
PROG
(Haskell)
import Data.List (nub, sort)
a180410 = read . sort . nub . show :: Integer -> Integer
-- Reinhard Zumkeller, Jul 09 2013
CROSSREFS
This is identical to A180409 with the zeros removed.
Sequence in context: A222493 A032762 A371535 * A071650 A037265 A292685
KEYWORD
easy,nonn,base,look
AUTHOR
Dominick Cancilla, Sep 02 2010
STATUS
approved