Problem 46046. Determine whether a number is a cluster prime
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
Nikolaos Nikolaou
on 11 May 2021
Chris problems are kinda my favourite :)
Solution Comments
Show commentsProblem Recent Solvers46
Suggested Problems
-
Return the 3n+1 sequence for n
8481 Solvers
-
Matrix indexing with two vectors of indices
771 Solvers
-
10611 Solvers
-
Getting the indices from a vector
11760 Solvers
-
Simple equation: Annual salary
4252 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!