Project Euler 171 - Square Sum of the Digital Squares

Official link: https://projecteuler.net/problem=171