P77
projecteuler.net

Prime Summations

ℹ️Published on Friday, 27th August 2004, 06:00 pm; Solved by 21563;
Difficulty rating: 25%

It is possible to write ten as the sum of primes in exactly five different ways:

\begin{align} &7 + 3\\ &5 + 5\\ &5 + 3 + 2\\ &3 + 3 + 2 + 2\\ &2 + 2 + 2 + 2 + 2 \end{align}

What is the first value which can be written as the sum of primes in over five thousand different ways?



Soluzione

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