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 Solvers841
Suggested Problems
-
Determine if a Given Number is a Triangle Number
400 Solvers
-
Getting the indices from a matrix
731 Solvers
-
Find nearest prime number less than input number
1020 Solvers
-
Rounding off numbers to n decimals
5742 Solvers
-
2325 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!