I'm trying to prove to following language is not regular, using Myhill Nerode's theorem:
$L = {a^{n^2}}$
I found this:
$a^n$ (has no equivalence classes to) $a^m$ when n ≠ m because
$a^na^n$ is in L but $a^ma^n$ is not in L, which implies that L has infite equivalence classes. Is this right?