login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038378 Integers which have more distinct digits than any smaller number. 5
0, 10, 102, 1023, 10234, 102345, 1023456, 10234567, 102345678, 1023456789 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Or: Smallest number with exactly n distinct digits. - M. F. Hasler, May 04 2017

LINKS

Table of n, a(n) for n=1..10.

S. Colton, Refactorable Numbers - A Machine Invention, J. Integer Sequences, Vol. 2, 1999, #2.

S. Colton, HR - Automatic Theory Formation in Pure Mathematics

MATHEMATICA

Prepend[NestList[FromDigits[Append[IntegerDigits[#], Last[Union[IntegerDigits[#]]]+1]]&, 10, 8], 0] (* Ivan N. Ianakiev, May 10 2015 *)

Join[{0}, Table[FromDigits[PadRight[{1, 0}, n, {1, 0, 2, 3, 4, 5, 6, 7, 8, 9}]], {n, 2, 10}]] (* Harvey P. Dale, Sep 27 2016 *)

PROG

(PARI) A038378(n)=sum(i=1, n--, 10^(n-i)*if(i>1, i, 10)) \\ M. F. Hasler, May 04 2017

CROSSREFS

Cf. A007809, A043537, A086069.

Sequence in context: A078282 A037503 A037680 * A158242 A147636 A191014

Adjacent sequences:  A038375 A038376 A038377 * A038379 A038380 A038381

KEYWORD

nonn,fini,full,base,nice

AUTHOR

N. J. A. Sloane.

EXTENSIONS

Offset fixed by Reinhard Zumkeller, Aug 25 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 18:30 EST 2019. Contains 320327 sequences. (Running on oeis4.)