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!)
A331585 a(n) is the greatest k such that A092213(n) = k + reverse(k) (where reverse(k) is the binary reverse of k, A030101(k)). 2
0, 1, 2, 4, 3, 8, 5, 7, 12, 16, 9, 14, 13, 20, 24, 15, 32, 17, 28, 26, 21, 25, 40, 48, 29, 27, 44, 31, 56, 64, 33, 50, 60, 41, 72, 49, 80, 45, 62, 57, 96, 88, 51, 84, 61, 59, 104, 112, 92, 63, 128, 65, 98, 120, 116, 73, 106, 81, 144, 124, 97, 160, 89, 122, 85 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) + A030101(a(n)) = A092213(n).
a(n) >= A330340(n).
EXAMPLE
For n = 5:
- A092213(5) = 9,
- 8 is the greatest k such that k + reverse(k) = 9,
- so a(5) = 8.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A342794 A266412 A246365 * A191729 A075378 A101905
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 21 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)