Vanadium 50
Staff Emeritus
Science Advisor
Education Advisor
Gold Member
Dearly Missed
- 35,003
- 21,714
You need to pay more attention to what people are writing.
Vanadium 50 said:Can you think of a property of the prime factorization that would help you?
Vanadium 50 said:Nothing says d is the right variable to loop over
Vanadium 50 said:you have posted a solution based on exhaustive tests, and three times that's not the most efficient way to solve the problem