PerniciousNumbers
The pernicious numbers : positive integers whose binary popcount is itself prime.
OEIS
A052294PerniciousNumbersthe with prime, an infinite indexed collection.Details
- A lazy indexed collection: -- every with exactly two 1-bits already qualifies (popcount 2 is prime), and there are infinitely many. OEIS A052294.
- unranks by scanning forward -- .
- Membership goes through Element: is true (popcount 3, prime), is false (popcount 4).
Enumeration
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 1 |
|---|---|
| Crosswalk | OEIS |
See also: Count, At, Element, EvilNumbers, OdiousNumbers, PrimeNumbers