Project Euler 642 - Sum of Largest Prime Factors

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