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 Solvers843
Suggested Problems
-
Find the peak 3n+1 sequence value
2572 Solvers
-
Back to basics 3 - Temp Directory
387 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
461 Solvers
-
408 Solvers
-
Spot the First Occurrence of 5
436 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!