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
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers47
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53967 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
104 Solvers
-
11015 Solvers
-
1083 Solvers
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!
Chris problems are kinda my favourite :)
The instructions are clearly missing information or malformed. I've got two subscripts with nothing to index or reference.