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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A336285 Lexicographically earliest sequence of distinct positive terms such that the sum of two consecutive terms has distinct decimal digits. 2
 1, 2, 3, 4, 5, 7, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 53, 50, 52, 51, 54, 55, 65, 58, 62, 61, 59, 64, 56, 67, 57, 63, 60, 66 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS In other words, for any n > 0, a(n) + a(n+1) belongs to A010784. This sequence is finite. LINKS Rémy Sigrist, Table of n, a(n) for n = 1..10000 EXAMPLE The first terms, alongside a(n) + a(n+1), are:   n   a(n)  a(n)+a(n+1)   --  ----  -----------    1     1            3    2     2            5    3     3            7    4     4            9    5     5           12    6     7           13    7     6           14    8     8           17    9     9           19   10    10           21 PROG (PARI) s=0; v=1; for (n=1, 67, print1 (v", "); s+=2^v; for (w=1, oo, if (!bittest(s, w) && #(d=digits(v+w))==#Set(d), v=w; break))) CROSSREFS Cf. A010784, A322845. Sequence in context: A331269 A073907 A131424 * A222249 A230565 A072797 Adjacent sequences:  A336282 A336283 A336284 * A336286 A336287 A336288 KEYWORD nonn,base,fini AUTHOR Rémy Sigrist, Jul 22 2020 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.

Last modified September 23 03:28 EDT 2020. Contains 337291 sequences. (Running on oeis4.)