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 Solvers844
Suggested Problems
-
Given two arrays, find the maximum overlap
1817 Solvers
-
Is my wife right? Now with even more wrong husband
1348 Solvers
-
Sum all integers from 1 to 2^n
18284 Solvers
-
Return the first and last characters of a character array
12601 Solvers
-
9905 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!