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
-
Given two arrays, find the maximum overlap
1549 Solvers
-
Back to basics 21 - Matrix replicating
1587 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
532 Solvers
-
Sum the 'edge' values of a matrix
353 Solvers
-
413 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!