Problem 60988. List numbers that cannot be expressed as the sum of two primes

The Goldbach conjecture claims that even numbers greater than 2 can be expressed as the sum of two prime numbers. What about the other numbers, such as 1, 2, 3, and 11, which cannot?
Write a function that returns the nth number that cannot be expressed as the sum of two prime numbers.

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Aug 03, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers6

Suggested Problems

More from this Author309

Community Treasure Hunt

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

Start Hunting!