A cluster prime is an odd prime number p such that all even numbers less than or equal to p-3 can be expressed as a difference of two primes q and q' that are no larger than p.
Write a function to determine whether a number is a cluster prime.

Solution Stats

146 Solutions

47 Solvers

Last Solution submitted on Oct 23, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers47

Suggested Problems

More from this Author329

Problem Tags

Community Treasure Hunt

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

Start Hunting!