$\displaystyle a \neq 0,n,$ because $\displaystyle 0$ and $\displaystyle n$ are the only eigenvalues of $\displaystyle A.$