We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.

Forgive my ignorance, But isn't 983 the highest number below 1000 when consecutive prime numbers are added? In the problem section, they gave 953 as the highest number. Can anyone tell me how?

[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 109] is not a list of consecutive primes as the next prime after 83 is 89.

## Project Euler #50: Consecutive prime sum

You are viewing a single comment's thread. Return to all comments →

Forgive my ignorance, But isn't 983 the highest number below 1000 when consecutive prime numbers are added? In the problem section, they gave 953 as the highest number. Can anyone tell me how?

Can anybody tell me the prime numbers for 953?

Thank you

sum([7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89])=953

[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 109] is not a list of consecutive primes as the next prime after 83 is 89.