Let $(G,\cdot)$ be a non-empty finite semigroup. Is there any $a\in G$ such that: $$a^2=a$$
It seems to be true in view of theorem 2.2.1 page 97 of this book (I'm not sure). But is there an elementary proof?
Theorem 2.2.1. [R. Ellis] Let $S$ be a compact right topological semigroup. Then there exists an idempotent in it.
This theorem is also known as Ellis–Numakura lemma.
Note first that it suffices to prove that $a^k = a$ for some $k \geq 2$. If $k = 2$ we are done. Otherwise $k > 2$ and multiplying both sides by $a^{k-2}$ gives $(a^{k-1})^2 = a^{k-1}$.
Fix $x \in G$ and consider the sequence
$$x, x^2, x^4, x^8, x^{16}, \ldots$$
Since $G$ is finite, there is repetition in this sequence. That is, $x^{2^t} = x^{2^s}$ for some integers $t > s \geq 1$. Thus $x^{2^t} = (x^{2^s})^{2^{t-s}} = x^{2^s}$, so choosing $a = x^{2^{s}}$ and $k = 2^{t-s}$ gives $a^k = a$. Note that $k \geq 2$ since $t > s$.