The OEIS is supported by the many generous donors to the OEIS Foundation.

 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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A340254 Lexicographically earliest sequence of distinct nonnegative terms such that for any n >= 0, a(n+1) is obtained by altering the leftmost decimal digit (which is not a leading zero) in a(n) or if this is not possible by altering the rightmost leading zero in a(n). 2
 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99, 90, 10, 20, 30, 40, 50, 60, 70, 80, 81, 11, 21, 31, 41, 51, 61, 71, 91, 92, 12, 22, 32, 42, 52, 62, 72, 82, 83, 13, 23, 33, 43, 53, 63, 73, 93, 94, 14, 24, 34, 44, 54, 64, 74, 84, 85, 15, 25, 35 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS This sequence appears to be a permutation of the nonnegative integers. LINKS Rémy Sigrist, Table of n, a(n) for n = 0..9999 Rémy Sigrist, PARI program for A340254 PROG (PARI) See Links section. CROSSREFS See A340250 for similar sequences. Sequence in context: A248013 A088473 A317110 * A190876 A051885 A227378 Adjacent sequences: A340251 A340252 A340253 * A340255 A340256 A340257 KEYWORD nonn,base AUTHOR Rémy Sigrist, Jan 02 2021 STATUS approved

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

Last modified December 3 22:01 EST 2023. Contains 367540 sequences. (Running on oeis4.)