Question: I write:
\begin{align} \lambda_1 & = {\sqrt[3]{\frac{1}{2}\bigg(9 + i \sqrt{687}\bigg)}\above 1.5 pt 3^{2/3}} + {4 \above 1.5pt {\sqrt[3]{\frac{3}{2} \bigg (9 + i \sqrt{687}\bigg)}}}\\ \lambda_2 & = -{\bigg(1-i\sqrt{3}\bigg)\sqrt[3]{\frac{1}{2}\bigg(9 + i \sqrt{687}\bigg)}\above 1.5 pt 2\times 3^{2/3}} - {2(1+i\sqrt{3})\above 1.5pt {\sqrt[3]{\frac{3}{2} \bigg (9 + i \sqrt{687}\bigg)}}} \\ \lambda_3 & = -{\bigg(1+i\sqrt{3}\bigg)\sqrt[3]{\frac{1}{2}\bigg(9 + i \sqrt{687}\bigg)}\above 1.5 pt 2\times 3^{2/3}} - {2(1-i\sqrt{3})\above 1.5pt {\sqrt[3]{\frac{3}{2} \bigg (9 + i \sqrt{687}\bigg)}}}\\ \end{align} Is it obviously true that $$|\lambda_1|^2+|\lambda_2|^2+|\lambda_3|^2 =8$$ ?
This question is driven entirely by curiosity and fun. Unless I am missing the obvious it seems if you were to work this out by hand it would be demonstrably difficult ? Here is the origin of the problem and my attempted solution:
Let $A(n)$ be a finite square $n \times n$ matrix with entries $a_{i,j}=1$ if $i+j$ is a perfect power; otherwise equals to $0$. Let $\chi_{A(n)}(X)$ be the characteristic polynomial of $A(n)$. By the fundamental theorem of algebra $\chi_{A(n)}(X)$ has $n$ roots (=eigenvalues). Denote the $n$ eigenvalues by $\lambda_i$ with $1 \leq i \leq n$. Note $A(n)=A(n)^t$ where $^t$ is the matrix transpose and in particular $A(n)$ is a real symmetric matrix consequently it is normal. I bring Schur's Inequality into play:
$$\sum_{i=1}^n |\lambda_i|^2 = \sum_{i=1}^n \sum_{j=1}^n |a_{ij}|^2$$
Immediately this tells me that the number of $1$'s in $A(n)$ is completely determined by its eigenvalues. Now consider $A(6)$.
$$A(6)= \text{ }\begin{pmatrix} 0&0&1&0&0&0\\ 0&1&0&0&0&1\\ 1&0&0&0&1&1\\ 0&0&0&1&1&0\\ 0&0&1&1&0&0\\ 0&1&1&0&0&0\\ \end{pmatrix}$$
I have that $$\chi_{A(6)}(X)=X^6-2X^5-4X^4+8X^3+2X^2-4X-1$$ and that can be factored into $$(X^3-4X-1)(X^2-X-1)(X-1)$$ $A(6)$ has 6 eigenvalues which can be written (courtesy of WOLFRAM ALPHA)
\begin{align} \lambda_1 & = {\sqrt[3]{\frac{1}{2}\bigg(9 + i \sqrt{687}\bigg)}\above 1.5 pt 3^{2/3}} + {4 \above 1.5pt {\sqrt[3]{\frac{3}{2} \bigg (9 + i \sqrt{687}\bigg)}}}\\ \lambda_2 & = -{\bigg(1-i\sqrt{3}\bigg)\sqrt[3]{\frac{1}{2}\bigg(9 + i \sqrt{687}\bigg)}\above 1.5 pt 2\times 3^{2/3}} - {2(1+i\sqrt{3})\above 1.5pt {\sqrt[3]{\frac{3}{2} \bigg (9 + i \sqrt{687}\bigg)}}} \\ \lambda_3 & = -{\bigg(1+i\sqrt{3}\bigg)\sqrt[3]{\frac{1}{2}\bigg(9 + i \sqrt{687}\bigg)}\above 1.5 pt 2\times 3^{2/3}} - {2(1-i\sqrt{3})\above 1.5pt {\sqrt[3]{\frac{3}{2} \bigg (9 + i \sqrt{687}\bigg)}}}\\ \lambda_4 & = -{1\above 1.5 pt \phi}\\ \lambda_5 & = \phi\\ \lambda_6 & = 1 \end{align}
where $\phi= {1+ \sqrt{5}\above 1.5pt 2}$ and is called the golden ratio. Note $\sum_{j=1}^6 a_{ij}=12$ and according to our first equation I can write
$$1+|\lambda_1|^2+|\lambda_2|^2+|\lambda_3|^2+ |-{1\above 1.5 pt \phi}|^2 +|\phi|^2 =12$$
I can show that
$$|-{1\above 1.5 pt \phi}|^2 +|\phi|^2=3$$
Cancelling out terms and regrouping yields
$$|\lambda_1|^2+|\lambda_2|^2+|\lambda_3|^2 =8$$
and we are done.
Outside of hand calculations which I am too lazy to do to I am not aware of any other approach that will obviously and for that matter quickly show the sum equals $8$.