Add working p3 for largest prime factor