A180410 Unique digits used in n in numerical order.
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
Examples
a(93077) = 0379 = 379. Seven is only used once and the digits are sorted. The initial zero is not shown.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Crossrefs
This is identical to A180409 with the zeros removed.
Programs
-
Haskell
import Data.List (nub, sort) a180410 = read . sort . nub . show :: Integer -> Integer -- Reinhard Zumkeller, Jul 09 2013
-
Maple
a:= n-> parse(cat(sort([{convert(n, base, 10)[]}[]])[])): seq(a(n), n=1..70); # Alois P. Heinz, Sep 21 2022
Formula
a(n) = 0123456789 after any digits not appearing in n are removed.
Comments