isBalancedPrime(3) = false;
isBalancedPrime(7) = false;
isBalancedPrime(5) = true; % since (3+7)/2 = 5
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers28
Suggested Problems
-
Find the two most distant points
2952 Solvers
-
Increment a number, given its digits
684 Solvers
-
Longest run of consecutive numbers
6478 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 Solvers
-
7534 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!