In[12]:= m = Table[i^2*(j + 1) + 2, {i, 5}, {j, 5}]
Out[12]= {{4, 5, 6, 7, 8}, {10, 14, 18, 22, 26}, {20, 29, 38, 47,
56}, {34, 50, 66, 82, 98}, {52, 77, 102, 127, 152}}
In[13]:= Eigenvalues[m]
Out[13]= {5 (29 + Sqrt[817]), 5 (29 - Sqrt[817]), 0, 0, 0}