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
-
5993 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3073 Solvers
-
Number of 1s in a binary string
11647 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
8319 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!