Problem 44793. Project Euler 249: Prime Subset Sums
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 11 Aug 2020
The tip for this one is that It is possible to solve it within MATLAB's precision by using mod(x,10^16). No need for Java or Python (arbitrary-precision arithmetic).
GeeTwo
on 9 Jan 2023
At least those four lookup solutions inspired me to squeeze a bit harder to get down to 61.
Problem Recent Solvers18
Suggested Problems
-
966 Solvers
-
Back to basics 4 - Search Path
356 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
347 Solvers
-
123 Solvers
-
543 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!