P249
projecteuler.net

Prime Subset Sums

ℹ️Published on Saturday, 13th June 2009, 05:00 am; Solved by 2812;
Difficulty rating: 60%

Let $S = \{2, 3, 5, \dots, 4999\}$ be the set of prime numbers less than $5000$.

Find the number of subsets of $S$, the sum of whose elements is a prime number.
Enter the rightmost $16$ digits as your answer.



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.