Determine all three-digit numbers N such that $N^2$ has six digits and so that the sum of the number formed by the first three digits of $N^2$ and the number formed by the latter three digits of $N^2$ equals $N$.
Source: Flanders Math Olympiad 2018 p4
Tags: number theory, Digits
Determine all three-digit numbers N such that $N^2$ has six digits and so that the sum of the number formed by the first three digits of $N^2$ and the number formed by the latter three digits of $N^2$ equals $N$.