Files
freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-77-prime-summations.english.md
Valeriy 79d9012432 fix(curriculum): quotes in tests (#18828)
* fix(curriculum): tests quotes

* fix(curriculum): fill seed-teardown

* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30

898 B

id, challengeType, title
id challengeType title
5900f3b91000cf542c50fecc 5 Problem 77: Prime summations

Description

It is possible to write ten as the sum of primes in exactly five different ways: 7 + 3 5 + 5 5 + 3 + 2 3 + 3 + 2 + 2 2 + 2 + 2 + 2 + 2 What is the first value which can be written as the sum of primes in over five thousand different ways?

Instructions

Tests

tests:
  - text: <code>euler77()</code> should return 71.
    testString: assert.strictEqual(euler77(), 71, '<code>euler77()</code> should return 71.');

Challenge Seed

function euler77() {
  // Good luck!
  return true;
}

euler77();

Solution

// solution required