Added Large Sum Problem and Optimized Prime Factors