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
-
Project Euler: Problem 7, Nth prime
1777 Solvers
-
433 Solvers
-
Lychrel Number Test (Inspired by Project Euler Problem 55)
113 Solvers
-
Numbers spiral diagonals (Part 2)
210 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1868 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 :)