Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pernicious numbers #59

Closed
ankush4144 opened this issue Oct 6, 2017 · 0 comments
Closed

Pernicious numbers #59

ankush4144 opened this issue Oct 6, 2017 · 0 comments

Comments

@ankush4144
Copy link

ankush4144 commented Oct 6, 2017

A pernicious number is a positive integer whose population count is a prime.

The population count is the number of ones in the binary representation of a non-negative integer.
For example- if the sum of digits in binary representation of a positive number is prime then it is a prenicious number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant