Problem

Source: Baltic Way 2002

Tags: induction, logarithms, algebra proposed, algebra



Find all sequences $0\le a_0\le a_1\le a_2\le \ldots$ of real numbers such that \[a_{m^2+n^2}=a_m^2+a_n^2 \] for all integers $m,n\ge 0$.