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 Solvers821
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49334 Solvers
-
15768 Solvers
-
2182 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
823 Solvers
-
Find out sum of all elements of given Matrix
499 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!