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!)
A320910 a(n)/2^n is the expected length of the longest palindromic subsequence of a length-n binary string. 0
2, 6, 20, 50, 128, 302, 708, 1612, 3624, 8048, 17704, 38604, 83660, 180118, 386096, 823540, 1750564 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
By subsequence we mean "not necessarily contiguous subsequence".
LINKS
EXAMPLE
For n = 3, the binary strings are 000, 001, 010, 011, and their bitwise complements, with longest palindromic subsequence of length 3,2,3,2 respectively, so a(3) = 2*(3+2+3+2) = 20.
CROSSREFS
Sequence in context: A056820 A204422 A027558 * A066397 A060344 A363600
KEYWORD
nonn,more
AUTHOR
Jeffrey Shallit, Oct 23 2018
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 4 14:25 EDT 2024. Contains 373099 sequences. (Running on oeis4.)