Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A139210
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A139210 Number of recursively 3-palindromic words of length n over an alphabet of 2 letters. +0
1
2, 2, 4, 4, 8, 4, 8, 8, 16, 16, 32, 16, 32, 16, 64, 32, 64, 16, 32, 32, 64, 64, 128, 64, 128, 128, 256, 256, 512, 256, 512, 256, 1024, 512, 1024, 256, 512, 256, 1024, 512, 2048, 256, 1024, 512, 4096, 2048, 4096, 1024, 2048, 512, 4096, 1024, 2048, 256, 512, 512 (list; graph; listen)
OFFSET

1,1

COMMENT

We define a word of length n to be recursively 3-palindromic if it is empty, or it is a palindrome and its left third and right third of lengths Floor[n/3] and the remaining middle of length n-2Floor[n/3] are all recursively 3-palindromic.

See the Ji/Wilf reference for the definition of a recursively palindromic sequence. The number of recursively palindromic words of length n over an alphabet of 2 letters is given in A001316.

REFERENCES

Kathy Q. Ji and Herbert S. Wilf, Extreme Palindromes, Am. Math. Monthly 115 (2008) 447-451.

FORMULA

a(1)=2, a(2)=2 and, for n>2, a(n)=a([n/3])*a(n-2[n/3])., where [...] denotes the floor or greatest integer function.

EXAMPLE

{0,0,0,0,0,0,0}, {0,0,0,1,0,0,0}, {0,0,1,0,1,0,0}, {0,0,1,1,1,0,0}, {1,1,0,0,0,1,1}, {1,1,0,1,0,1,1}, {1,1,1,0,1,1,1}, {1,1,1,1,1,1,1} are the eight recursively 3-palindromic words of length seven over an alphabet of two letters, so a(7)=8.

CROSSREFS

Cf. A001316.

Adjacent sequences: A139207 A139208 A139209 this_sequence A139211 A139212 A139213

Sequence in context: A032190 A005852 A115209 this_sequence A008330 A138219 A100835

KEYWORD

nonn

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Jun 06 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 11 13:47 EDT 2008. Contains 144830 sequences.


AT&T Labs Research