SymmetricBorderLength on BinaryWord
The length of the longest prefix whose reverse is a suffix.
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.
| Object | Value |
|---|---|
0 | 1 |
1 | 1 |
00 | 2 |
01 | 0 |
10 | 0 |
11 | 2 |
000 | 3 |
001 | 0 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000296 has the rest.