In this article we will explore the topic of Pernicious number from different perspectives, with the aim of analyzing its impact on modern society. From its origin to its influence today, we will take a tour of the most relevant aspects related to Pernicious number. In addition, we will examine the possible implications and consequences that Pernicious number may have in various areas, as well as the future perspectives that this topic raises. Through a detailed and exhaustive analysis, we will try to shed light on Pernicious number and its relevance in the contemporary world.
In number theory, a pernicious number is a positive integer such that the Hamming weight of its binary representation is prime, that is, there is a prime number of 1s when it is written as a binary number.[1]
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 (1102), 7 (1112) and 9 (10012).[2] The sequence of pernicious numbers begins
No power of two is a pernicious number. This is trivially true, because powers of two in binary form are represented as a one followed by zeros. So each power of two has a Hamming weight of one, and one is not considered to be a prime.[2] On the other hand, every number of the form with , including every Fermat number, is a pernicious number. This is because the sum of the digits in binary form is 2, which is a prime number.[2]
A Mersenne number has a binary representation consisting of ones, and is pernicious when is prime. Every Mersenne prime is a Mersenne number for prime , and is therefore pernicious. By the Euclid–Euler theorem, the even perfect numbers take the form for a Mersenne prime ; the binary representation of such a number consists of a prime number of ones, followed by zeros. Therefore, every even perfect number is pernicious.[3][4]