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 Solvers816
Suggested Problems
-
4069 Solvers
-
2125 Solvers
-
Find common elements in matrix rows
2500 Solvers
-
Given a window, how many subsets of a vector sum positive
846 Solvers
-
Write c^3 as sum of two squares a^2+b^2
315 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!