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 Solvers822
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3010 Solvers
-
Back to basics 8 - Matrix Diagonals
931 Solvers
-
Back to basics 12 - Input Arguments
602 Solvers
-
Create a vector whose elements depend on the previous element
701 Solvers
-
Who has power to do everything in this world?
449 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!