cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A269560 Length of the longest squarefree and rich word over an alphabet of n letters.

Original entry on oeis.org

1, 3, 7, 15, 33, 67, 145
Offset: 1

Views

Author

Jarkko Peltomäki, Feb 29 2016

Keywords

Comments

A squarefree and rich word over a fixed alphabet always has bounded length (see Pelantová & Starosta). A word is squarefree if it does not contain squares as subwords, and a word of length n is rich if it contains exactly n+1 distinct palindromes (including the empty word) as subwords.
It is known that 2.008^n <= a(n) <= 2.237^n for n >= 5 (see Vesti).

Examples

			For n = 3, the longest squarefree and rich words are (up to isomorphism) 0102010 and 0121012. For n = 4, e.g., the word 010201030102010 has maximal length.