Skip to content

LongestPalindromicSubsequence on BinaryWord ​

The length of the longest subsequence that reads the same backwards.

On BinaryWord

FindStat's St001417: the longest common subsequence of the word and its reverse. After the first i letters, entry j + 1 holds that for the first j letters of the reverse.

Called as CombinatorialStat(x, "LongestPalindromicSubsequence"). The head's page has its examples.

Live

Distribution

Over BinaryWords at each size, tallied here in your browser; sizes past 6 are not offered.

FindStat St001417

The length of a longest palindromic subword of a binary word.

ObjectValue
01
11
002
011
101
112
0003
0012

Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St001417 has the rest.