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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A285695 Numbers such that the path described in Comments visits all digits once and ends in the position before the first digit. 3
0, 31202, 110140, 312122, 1101106, 1131404, 3121124, 3131226, 5111424, 5120200, 5300402, 5320004, 11011162, 11034000, 11112160, 11314142, 13030060, 15014020, 31211144, 31232200, 31312164, 33000160, 33202120, 33230240, 35010260, 35212220, 51034202, 51114144 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Let d(1..k) be the digits in the number and let i = 1. If d(i) is odd set i = i+d(i)+1 else i = i-d(i)-1. The number is a term if i reaches 0.
LINKS
FORMULA
Except for 0, numbers must start with 1, 3, 5, 7, 9 and end with 0, 2, 4, 6, 8.
Let eSum = Sum_{i=1..k, d(i) is even} d(i)+1, and oSum = Sum_{i=1..k, d(i) is odd} d(i)+1. Then eSum-oSum-1 = 0.
EXAMPLE
For 31202 the digit positions visited are 1, 5, 2, 4, 3, 0(outside to the left) so 31202 is a term.
CROSSREFS
Sequence in context: A234888 A151815 A331675 * A186800 A230753 A205419
KEYWORD
nonn,base
AUTHOR
Lars Blomberg and Eric Angelini, Apr 25 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 21:01 EDT 2024. Contains 371767 sequences. (Running on oeis4.)