This is a simple question about *finite * monoids. Given a finite monoid M ( finite cardinality) given any element $$ a \in M $$ it it´s true that always exist an integer $n$ such that $ a^n = a $ ?
Someone has a site or a book that provides a lot of examples of finite monoids that are not groups?
$n=1$ always works, but there may not be a larger $n$ that does.
Consider for example, multiplication modulo $4$, which is a finite monoid with elements $\{0,1,2,3\}$ and identity $1$. Then for $a=2$ we have $a^n=0\neq a$ for all $n\ge 2$.