Assume that $A$ is a symmetric idempotent $n\times n$ real matrix. Prove that sum of all entries of $A$ is less than $n$.
I have proven it is less than $n^2$ by considering each row and column as a vector and the fact that $\langle A_1, A_1 \rangle = a_{11}$ , $\langle A_2, A_2 \rangle = a_{22}$ , $\ldots$