Since Cody is 5 years old, it's pernicious. A Pernicious number is an integer whose population count is a prime. Check if the given number is pernicious.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers837
Suggested Problems
-
Return the largest number that is adjacent to a zero
5516 Solvers
-
Find the two most distant points
2952 Solvers
-
Matrix indexing with two vectors of indices
775 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
905 Solvers
-
Spot the First Occurrence of 5
434 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Very interesting problem!