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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A288946 Starting with a(1) = 1, a(n) = smallest nonnegative integer not yet in the sequence such that the first digit of a(n) is plus or minus one the last digit of a(n-1) plus or minus 1, with preference given +1 when possible. The digit 0 is not allowed. 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 81, 21, 22, 31, 23, 41, 24, 51, 25, 61, 26, 71, 27, 82, 32, 33, 42, 34, 52, 35, 62, 36, 72, 37, 83, 43, 44, 53, 45, 63, 46, 73, 47, 84, 54, 55, 64, 56, 74, 57, 85, 65, 66, 75, 67, 86, 76, 77, 87, 88, 91, 28, 92, 38, 93, 48, 94, 58, 95, 68, 96, 78, 97, 89, 811, 29, 812, 39, 813, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

If a(n-1) ends in 9, a(n) must begin with 8 (i.e., a forced decrease by 1).

LINKS

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

EXAMPLE

9 is followed by 81 in the sequence since there is no larger digit and 8 has already been used.

CROSSREFS

Cf. A288945.

Sequence in context: A302173 A024663 A272360 * A237346 A193757 A246605

Adjacent sequences:  A288943 A288944 A288945 * A288947 A288948 A288949

KEYWORD

nonn,base

AUTHOR

Enrique Navarrete, Jun 19 2017

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 December 6 06:34 EST 2019. Contains 329784 sequences. (Running on oeis4.)