Happy new year! I saw a post on Facebook that surprised me:
$$2025=(1+2+3+4+5+6+7+8+9)^2=1^3+2^3+3^3+4^3+5^3+6^3+7^3+8^3+9^3$$
So, I wonder, does the equation $(a_1 + \cdots +a_9)^2=a_1^3+\cdots a_9^3$ have any other solutions over natural numbers (without zero)?
There are infinitely many integer solutions, for instance: $a_1=1, a_2=-a_9, a_3=-a_8, a_4=-a_7, a_5=-a_6$.
EDIT:
Maxime was the first to offer another solution, and there are a few more in the comments and in the other answer.
I've managed to prove that $a_1,\cdots,a_9$ must all be at most $12$. A solution with $a_1=12$ does indeed exist.