login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137397 Number of distinct palindromic subwords in the binary representation of n. 0
2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

Equals A070941 from a(1) to a(202) and continues a(203)=8, a(204)=a(205)=9.

Omitting "distinct" in the definition, we get 1, 2, 4, 4, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 16, 16,... which apparently is build by repeating entries of A000124 in blocks of length 2,4,8,16,32..

LINKS

A. Glen, J. Justin, S. Widmer, L. Q. Zamboni, Palindromic Richness, arXiv:0801.1656 [math.CO]

EXAMPLE

For n=10 the binary representation is A007088(10)=1010, which contains the a(10)=5 palindromic substrings {}, {0}, {1}, {101}, {010}. The empty subword is always included in the count.

CROSSREFS

Cf. A070941.

Sequence in context: A171896 A094235 A156876 * A062571 A102515 A066063

Adjacent sequences:  A137394 A137395 A137396 * A137398 A137399 A137400

KEYWORD

nonn,base

AUTHOR

R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 11 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 02:31 EST 2012. Contains 205978 sequences.