Find all polynomials $P(x)$ for which there exists a sequence $a_1, a_2, a_3, \ldots$ of real numbers such that \[a_m + a_n = P(mn)\]for any positive integer $m$ and $n$.
Source: BdMO 2024 Higher Secondary National P6
Tags: algebra, polynomial, Substitution
Find all polynomials $P(x)$ for which there exists a sequence $a_1, a_2, a_3, \ldots$ of real numbers such that \[a_m + a_n = P(mn)\]for any positive integer $m$ and $n$.