Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Pernicious number

From Wikipedia, the free encyclopedia
Number with prime Hamming weight

Innumber theory, apernicious number is a positive integer such that theHamming weight of itsbinary representation isprime, that is, there is a prime number of 1s when it is written as a binary number.[1]

Examples

[edit]

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

3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 24, ... (sequenceA052294 in theOEIS).

Properties

[edit]

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, andone is not considered to be a prime.[2] On the other hand, every number of the form2n+1{\displaystyle 2^{n}+1} withn>1{\displaystyle n>1}, including everyFermat number, is a pernicious number. This is because the sum of the digits in binary form is 2, which is a prime number.[2]

AMersenne number2n1{\displaystyle 2^{n}-1} has a binary representation consisting ofn{\displaystyle n} ones, and is pernicious whenn{\displaystyle n} is prime. EveryMersenne prime is a Mersenne number for primen{\displaystyle n}, and is therefore pernicious. By theEuclid–Euler theorem, the evenperfect numbers take the form2n1(2n1){\displaystyle 2^{n-1}(2^{n}-1)} for a Mersenne prime2n1{\displaystyle 2^{n}-1}; the binary representation of such a number consists of a prime numbern{\displaystyle n} of ones, followed byn1{\displaystyle n-1} zeros. Therefore, every even perfect number is pernicious.[3][4]

Related numbers

[edit]

References

[edit]
  1. ^Deza, Elena (2021),Mersenne Numbers And Fermat Numbers, World Scientific, p. 263,ISBN 978-9811230332
  2. ^abcSloane, N. J. A. (ed.),"Sequence A052294",TheOn-Line Encyclopedia of Integer Sequences, OEIS Foundation
  3. ^Colton, Simon; Dennis, Louise (2002),"The NumbersWithNames Program",Seventh International Symposium on Artificial Intelligence and Mathematics
  4. ^Cai, Tianxin (2022),Perfect Numbers And Fibonacci Sequences, World Scientific, p. 50,ISBN 978-9811244094
Classes ofnatural numbers
Powers and related numbers
Of the forma × 2b ± 1
Other polynomial numbers
Recursively defined numbers
Possessing a specific set of other numbers
Expressible via specific sums
2-dimensional
centered
non-centered
3-dimensional
centered
non-centered
pyramidal
4-dimensional
non-centered
Combinatorial numbers
Divisor functions
Prime omega functions
Euler's totient function
Aliquot sequences
Primorial
Otherprime factor ordivisor related numbers
Numeral system-dependent numbers
Arithmetic functions
anddynamics
Digit sum
Digit product
Coding-related
Other
P-adic numbers-related
Digit-composition related
Digit-permutation related
Divisor-related
Other
Generated via asieve
Sorting related
Graphemics related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Pernicious_number&oldid=1278979207"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp