Problem

Source: 2020 Dürer Math Competition Finals Day2 E3 https://artofproblemsolving.com/community/c1622639_2020_

Tags: number theory, sum of digits



Ann wrote down all the perfect squares from one to one million (all in a single line). However, at night, an evil elf erased one of the numbers. So the next day, Ann saw an empty space between the numbers $760384$ and $763876$. What is the sum of the digits of the erased number?