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
-
Find the longest sequence of 1's in a binary sequence.
6809 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15806 Solvers
-
Getting the indices from a matrix
731 Solvers
-
681 Solvers
-
Is this is a Tic Tac Toe X Win?
536 Solvers
More from this Author326
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 :)