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
-
Remove any row in which a NaN appears
8769 Solvers
-
Find the two most distant points
2951 Solvers
-
The Hitchhiker's Guide to MATLAB
3404 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
-
Write c^3 as sum of two squares a^2+b^2
327 Solvers
More from this Author321
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 :)