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!)
A166935 A positive integer n is included if the longest palindromic substring (or at least one of which that is tied for longest) in the binary representation of n consists of identically valued digits (all 0's or all 1's). 2
1, 2, 3, 4, 6, 7, 8, 12, 14, 15, 16, 23, 24, 28, 29, 30, 31, 32, 40, 47, 48, 56, 58, 60, 61, 62, 63, 64, 79, 80, 95, 96, 104, 112, 116, 120, 121, 122, 124, 125, 126, 127, 128, 159, 160, 176, 191, 192, 208, 223, 224, 232, 240, 242, 244, 248, 249, 250, 251, 252, 253, 254 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
29 in binary is 11101. There are two substrings in this that are tied for longest palindromic substring, 111 and 101. Since 111 contains only 1's, then 29 is in this sequence.
CROSSREFS
Sequence in context: A268415 A352084 A277779 * A114391 A328607 A257250
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Oct 24 2009
EXTENSIONS
Extended by Ray Chandler, Mar 11 2010
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 23 14:15 EDT 2024. Contains 371914 sequences. (Running on oeis4.)