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

149 Solutions

48 Solvers

Last Solution submitted on Nov 29, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers48

Suggested Problems

More from this Author330

Problem Tags

Community Treasure Hunt

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

Start Hunting!