Problem 2736. Pernicious Anniversary Problem
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
Marco
on 1 Jan 2018
Very interesting problem!
Solution Comments
Show commentsProblem Recent Solvers827
Suggested Problems
-
1362 Solvers
-
1302 Solvers
-
First non-zero element in each column
913 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12948 Solvers
-
9923 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!