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
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
-
527 Solvers
-
607 Solvers
-
find "greatest common divisor" of two integer value
199 Solvers
-
Double all elements in the array
2307 Solvers
More from this Author323
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 :)