login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030283 a(0) = 0; for n>0, a(n) is the smallest number greater than a(n-1) which does not use any digit used by a(n-1). 16
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 22, 30, 41, 50, 61, 70, 81, 90, 111, 200, 311, 400, 511, 600, 711, 800, 911, 2000, 3111, 4000, 5111, 6000, 7111, 8000, 9111, 20000, 31111, 40000, 51111, 60000, 71111, 80000, 91111, 200000, 311111, 400000, 511111, 600000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The sequence is infinite.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..5000

MATHEMATICA

a = {0}; For[n = 1, n < 1000000, n++, If[Length[Intersection[IntegerDigits[n], IntegerDigits[a[[ -1]]]]] == 0, AppendTo[a, n]]]; a (* Stefan Steinerberger, May 30 2007 *)

PROG

(Haskell)

a030283 n = a030283_list !! n

a030283_list = 0 : f 1 9 0 where

   f u v w = w' : f u' v' w' where

     w' = until (> w) ((+ v) . (* 10)) u

     (u', v') = h u v

     h 1 0 = (2, 2); h 9 0 = (1, 1); h 9 1 = (2, 0); h 9 9 = (1, 0)

     h u 2 = (u+1, 0); h u v = (u+1, 1-v)

-- Reinhard Zumkeller, May 03 2012

CROSSREFS

Cf. A068860, A068861.

Cf. A030283, A229363, A229364.

Sequence in context: A132271 A116069 A081511 * A276633 A298482 A301801

Adjacent sequences:  A030280 A030281 A030282 * A030284 A030285 A030286

KEYWORD

nonn,base,nice

AUTHOR

Patrick De Geest

EXTENSIONS

Edited by N. J. A. Sloane at the suggestion of Rick L. Shepherd, Sep 27 2007

Definition clarified by Harvey P. Dale, Oct 19 2012

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 November 30 17:12 EST 2021. Contains 349424 sequences. (Running on oeis4.)