A string $\alpha\in\Sigma^n$ is called {\it p-periodic}, if for every $i,j \in \{1,\dots,n\}$, such that $i\equiv j \bmod p$, $\alpha_i = \alpha_{j}$, where $\alpha_i$ is the $i$-th place of $\alpha$. A string $\alpha\in\Sigma^n$ is said to be $period(\leq g)$, if there exists $p\in \{1,\dots,g\}$ such that $\alpha$ is {\it p-periodic}. ...
more >>>