login
This site is supported by donations 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

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

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

Cf. A050430, A166934, A174196.

Sequence in context: A032900 A268415 A277779 * A114391 A257250 A258209

Adjacent sequences:  A166932 A166933 A166934 * A166936 A166937 A166938

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 22:11 EDT 2019. Contains 321305 sequences. (Running on oeis4.)