Solution of problem 1

https://projecteuler.net/problem=1