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 Solvers836
Suggested Problems
-
6438 Solvers
-
How to find the position of an element in a vector without using the find function
2814 Solvers
-
Find a subset that divides the vector into equal halves
401 Solvers
-
Arrange vector in ascending order
817 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
1966 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!