This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Pernicious number" – news · newspapers · books · scholar · JSTOR (October 2018) (Learn how and when to remove this template message)

In number theory, a pernicious number is a positive integer such that the Hamming weight of its binary representation is prime.

Examples

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 (sequence A052294 in the OEIS).

Properties

Related numbers