A cluster prime is an odd prime number p such that all even numbers less than or equal to
can be expressed as a difference of two primes q and
that are no larger than p.
Write a function to determine whether a number is a cluster prime.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers46
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6805 Solvers
-
Remove the two elements next to NaN value
710 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
519 Solvers
-
222 Solvers
-
374 Solvers
More from this Author325
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Chris problems are kinda my favourite :)