Skip to content

SymmetricBorderLength on BinaryWord ​

The length of the longest prefix whose reverse is a suffix.

On BinaryWord

FindStat's St000296. The longest prefix that is a suffix read backwards is the run of leading positions i with w(i) = w(n + 1 - i).

Called as CombinatorialStat(x, "SymmetricBorderLength"). 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 St000296

The length of the symmetric border of a binary word.

ObjectValue
01
11
002
010
100
112
0003
0010

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