You are viewing a single comment's thread. Return to all comments →
Well, if you already solved problem 69-70, then you can easily pass all testcases by using dictionary/hash to store sums.
If you did not, then this Python Euler totient function can help
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #72: Counting fractions
You are viewing a single comment's thread. Return to all comments →
Well, if you already solved problem 69-70, then you can easily pass all testcases by using dictionary/hash to store sums.
If you did not, then this Python Euler totient function can help