OFFSET
1,1
COMMENTS
By subsequence we mean "not necessarily contiguous subsequence".
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
KEYWORD
nonn,more
AUTHOR
Jeffrey Shallit, Oct 23 2018
STATUS
approved