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 Solvers840
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6796 Solvers
-
Get the area codes from a list of phone numbers
1075 Solvers
-
1476 Solvers
-
284 Solvers
-
Make a random, non-repeating vector.
11565 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!