cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

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).

Original entry on oeis.org

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

Views

Author

Leroy Quet, Oct 24 2009

Keywords

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.)

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.
		

Crossrefs

Extensions

Extended by Ray Chandler, Mar 11 2010

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).

Original entry on oeis.org

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
Offset: 1

Views

Author

Leroy Quet, Oct 24 2009

Keywords

Examples

			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

Extensions

Extended by Ray Chandler, Mar 11 2010
Showing 1-2 of 2 results.