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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276766 a(n) = smallest nonnegative integer not yet in the sequence with no repeated digits and no digits in common with a(n-1), starting with a(0)=0. 3
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 23, 14, 20, 13, 24, 15, 26, 17, 25, 16, 27, 18, 29, 30, 12, 34, 19, 28, 31, 40, 21, 35, 41, 32, 45, 36, 42, 37, 46, 38, 47, 39, 48, 50, 43, 51, 49, 52, 60, 53, 61, 54, 62, 57, 63, 58, 64, 59, 67, 80, 56, 70, 65, 71, 68, 72, 69, 73, 81, 74, 82, 75 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The author of this sequence is Rodolfo Kurchan, who mentioned this sequence in a Facebook Group "Series", cf. link.

The sequence is finite, with last term a(5274) = 78642. - M. F. Hasler, Sep 17 2016

LINKS

M. F. Hasler, Table of n, a(n) for n = 0..5274 (All terms)

Rodolfo Kurchan, Post in Facebook Group "Series".

PROG

(PARI) {u=[]; (t(k)=if(#Set(k=digits(k))==#k, k)); a=1; for(n=1, 99, print1(a", "); u=setunion(u, [a]); t(u[1])||u[1]++; while(#u>1&&u[2]<=u[1]+1, u=u[^1]); for(k=u[1]+1, 9e9, setsearch(u, k)&&next; (d=t(k))&& !#setintersect(Set(digits(a)), Set(d))&&(a=k)&&next(2))); a} \\ M. F. Hasler, Sep 17 2016

CROSSREFS

Cf. A054659, A067581, A276633, A276512.

Sequence in context: A179310 A114806 A239664 * A331215 A039229 A054659

Adjacent sequences:  A276763 A276764 A276765 * A276767 A276768 A276769

KEYWORD

nonn,base,fini,full

AUTHOR

Claudio Meller, Sep 17 2016

EXTENSIONS

Edited by M. F. Hasler, Sep 17 2016

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 September 18 23:17 EDT 2020. Contains 337175 sequences. (Running on oeis4.)