login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139210 Number of recursively 3-palindromic words of length n over an alphabet of 2 letters. 0
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; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
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.
LINKS
Kathy Q. Ji and Herbert S. Wilf, Extreme Palindromes, Amer. 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.
Sequence in context: A274625 A292253 A115209 * A300123 A175359 A336125
KEYWORD
nonn
AUTHOR
John W. Layman, Jun 06 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 15 14:56 EDT 2024. Contains 374333 sequences. (Running on oeis4.)