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”).

A227378
Smallest number with n = sum of distinct digits in decimal representation, cf. A217928.
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 189, 289, 389, 489, 589, 689, 789, 1789, 2789, 3789, 4789, 5789, 6789, 16789, 26789, 36789, 46789, 56789, 156789, 256789, 356789, 456789, 1456789, 2456789, 3456789, 13456789, 23456789, 123456789
OFFSET
0,3
COMMENTS
A217928(a(n)) = A007953(a(n)) = n and A217928(m) < n for m < a(n).
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a227378 = fromJust . (`elemIndex` a217928_list)
CROSSREFS
Sequence in context: A340254 A190876 A051885 * A226637 A274841 A247227
KEYWORD
nonn,base,fini,full
AUTHOR
Reinhard Zumkeller, Jul 09 2013
STATUS
approved