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).
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
Offset: 1
Examples
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.
Extensions
Extended by Ray Chandler, Mar 11 2010
Comments