The sum of digits of n and n2