Largest prime factor of a number