

A166934


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 different valued digits (0 and 1).


2



5, 9, 10, 11, 13, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 29, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 97
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

All terms of this sequence are contained in sequence A101082. (47 is the first integer that is in A101082, but is not in this sequence.)


LINKS

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


EXAMPLE

29 in binary is 11101. There are two substrings in this that are tied for longest palindromic substring, 111 and 101. Since 101 contains both a 0 and 1's, then 29 is in this sequence.


CROSSREFS

Cf. A050430, A166935, A174196.
Sequence in context: A101082 A277706 A300669 * A257739 A094695 A268412
Adjacent sequences: A166931 A166932 A166933 * A166935 A166936 A166937


KEYWORD

base,nonn


AUTHOR

Leroy Quet, Oct 24 2009


EXTENSIONS

Extended by Ray Chandler, Mar 11 2010


STATUS

approved



