Prove that language $Y=a^p$, where $p$ is prime is not regular.
Look at my proposition - is it ok ?
I use pumping lemma. Let's assume that $Y$ is regular. Let $s \in Y$. For this word we have partition $s=xyz$ such that $|y|>0$. Also we have that: $xy^0z, xy^{2}z, zy^3z... \in Y$ However it is impossible. Let's get $d$ such that $|xy|\mod d=0$. And $|y^d|\mod d = 0$. So $|xy^dz|\mod d = 0$. So it is condruction.