Project Euler #249: Prime Subset Sums

  • + 1 comment

    which are less than 4? [2 3 5 5 7 7 17] -> [{2},{3},{5},{2;3},{7},{2;5},{2;3;5;7}]

    2 and 3 right? Why does the exercise say 3?

    • + 0 comments

      {2}=2, {3}=2, {2,3}=5

      1. Each set above are composed of primes less then 4.
      2. Each set above has a sum equals to a prime number.