The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A308529 Number of length-n binary words having exactly one nontrivial palindrome prefix. 1
0, 2, 4, 10, 18, 34, 62, 118, 222, 432, 834, 1642, 3230, 6406, 12702, 25298, 50386, 100566, 200716, 401022, 801230, 1601654, 3201694, 6401784, 12800378, 25597578, 51188806, 102371284, 204729938, 409447272, 818869352, 1637713546, 3275376848, 6550703506, 13101306654, 26202513022, 52404825604, 104809450870, 209618501128, 419236601774 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A palindrome is nontrivial if it is of length at least 2.
LINKS
EXAMPLE
For n = 4 the 10 solutions are 0010, 0011, 0100, 0101, 0110 and their binary complements.
CROSSREFS
Cf. A308528.
Sequence in context: A045955 A182248 A093695 * A320098 A320968 A279359
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Jun 06 2019
EXTENSIONS
a(29)-a(40) from Bert Dobbelaere, Jun 15 2019
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 June 11 22:18 EDT 2024. Contains 373317 sequences. (Running on oeis4.)