Problem 45429. Prime Sum

What is the minimum value that can be written as sum of primes in n different ways?

For example, 10 is the minimum value that can be written as the sum of primes in exactly five different ways:

 2 + 2 + 2 + 2 + 2
 2 + 2 + 3 + 3
 2 + 3 + 5
 5 + 5
 3 +7

8 can be written in 3 different ways but 7 can also be written in 3 different ways. So 7 is the right answer.

https://projecteuler.net/problem=77

Solution Stats

38.89% Correct | 61.11% Incorrect
Last Solution submitted on Jul 18, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers7

Suggested Problems

More from this Author165

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!