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
Solution Comments
Show comments
Loading...
Problem Recent Solvers841
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2581 Solvers
-
Getting the indices from a vector
12290 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
520 Solvers
-
Create a vector whose elements depend on the previous element
803 Solvers
-
356 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!
Very interesting problem!