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 Number #80

Open
aryankush25 opened this issue Oct 8, 2017 · 2 comments
Open

Pernicious Number #80

aryankush25 opened this issue Oct 8, 2017 · 2 comments

Comments

@aryankush25
Copy link
Contributor

n number theory, a pernicious number is a positive integer where the Hamming weight (or digit sum) of its binary representation is prime.

Example-
The first pernicious number is 3, since 3 = 112 and 1 + 1 = 2, which is a prime. The next pernicious number is 5, since 5 = 1012, followed by 6, 7 and 9.

@aryankush25
Copy link
Contributor Author

i would like to do it in c.

@Priyansh2
Copy link

@aryankush25 i would like to do it in python . Please Assign this to me

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

2 participants