Let $S$ be a finite semigroup of order $n$. Suppose that $S$ has index $m$ and period $r$, i.e. $S$ satisfies the identity $x^{m+r} = x^m$. Then it is quite easy to show that $m \leq n$. My question is, how are $r$ and $n$ related? More specifically, is $r$ bounded by some (polynomial) function $f(n)$ that depends on $n$?
Thank you.