Problem 47798. Check if the input is a balanced prime
isBalancedPrime(3) = false;
isBalancedPrime(7) = false;
isBalancedPrime(5) = true; % since (3+7)/2 = 5
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers28
Suggested Problems
-
Find the sum of all the numbers of the input vector
51530 Solvers
-
1626 Solvers
-
Split a string into chunks of specified length
1923 Solvers
-
482 Solvers
-
Convert a Cell Array into an Array
1996 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!