diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes.english.md index 40d4e8a817..8711790a8e 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes.english.md @@ -8,9 +8,14 @@ forumTopicId: 16085 ## Description
-Sum all the prime numbers up to and including the provided number. -A prime number is defined as a number greater than one and having only two divisors, one and itself. For example, 2 is a prime number because it's only divisible by one and two. -The provided number may not be a prime. + +A prime number is a whole number greater than 1 with exactly two divisors: 1 and +itself. For example, 2 is a prime number because it is only divisible by 1 and 2. In +contrast, 4 is not prime since it is divisible by 1, 2 and 4. + +Rewrite `sumPrimes` so it returns the sum of all prime numbers that are less than or +equal to num. + Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code.