If $G$ is a finite $p$-group of maximal class, then I was trying to prove that the upper and lower central series coincide.
I am able to prove the result if center of $G$ is of order $p$. Then I found it as an exercise in the book "Groups of prime power order Vol.1" by Yakov Berkovich that for a finite $p$-group of maximal class, center of $G$ is always of order $p$.
Can anyone help me to prove why the other possibility of the size of center i.e. $p^2$ is not there?