pith. sign in

arxiv: 1404.2824 · v1 · pith:4A6VNXNQnew · submitted 2014-04-01 · 💻 cs.FL · cs.DM· cs.DS· math.CO

Normal, Abby Normal, Prefix Normal

classification 💻 cs.FL cs.DMcs.DSmath.CO
keywords normalprefixwordsalicebinarygamesleftlength
0
0 comments X
read the original abstract

A prefix normal word is a binary word with the property that no substring has more 1s than the prefix of the same length. This class of words is important in the context of binary jumbled pattern matching. In this paper we present results about the number $pnw(n)$ of prefix normal words of length $n$, showing that $pnw(n) =\Omega\left(2^{n - c\sqrt{n\ln n}}\right)$ for some $c$ and $pnw(n) = O \left(\frac{2^n (\ln n)^2}{n}\right)$. We introduce efficient algorithms for testing the prefix normal property and a "mechanical algorithm" for computing prefix normal forms. We also include games which can be played with prefix normal words. In these games Alice wishes to stay normal but Bob wants to drive her "abnormal" -- we discuss which parameter settings allow Alice to succeed.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.