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
-
First non-zero element in each column
942 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Relative ratio of "1" in binary number
1597 Solvers
-
632 Solvers
-
6100 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!