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
-
998 Solvers
-
Number of 1s in the Binary Representation of a Number
487 Solvers
-
633 Solvers
-
Check if number exists in vector
14505 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14339 Solvers
More from this Author328
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 :)