Project Euler 46 - Goldbach's other conjecture

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