Project Euler 700 - Eulercoin

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