Is the language $\lbrace (aaaaa)^n aa (aaaaa)^n \mid n \in \mathbb{N} \rbrace$ regular? It looks like I need infinitely many states so it is not regular.
Is $(aaaaa)^n aa (aaaaa)^n$ a regular language?
formal languages;regular languages