paper

The Maximum Number of Appearances of a Word in a Grid

arXiv:2207.11273

Abstract

How can you fill a grid with the letters A and M so that the word ``AMM'' appears as many times as possible in the grid? More generally, given a word of length , how can you fill an grid so that appears as many times as possible? We solve this problem exactly for several families of words, and we asymptotically solve this problem in higher-dimensional grids.

21 pages, American Mathematically Monthly