More about Balanced Primes on Wikipedia.
isBalancedPrime(3) = false;
isBalancedPrime(7) = false;
isBalancedPrime(5) = true; % since (3+7)/2 = 5

Solution Stats

69 Solutions

28 Solvers

Last Solution submitted on Jul 25, 2024

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers28

Suggested Problems

More from this Author92

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!