Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Evil number

Page semi-protected
From Wikipedia, the free encyclopedia
Class of binary number


evil

odious
The first 16 evil and odious numbers in binary. It can be seen, that both sequences differ only in the least significant bits, which form the Thue–Morse sequence for the evil, and its negation for the odious numbers. The other bits form the even numbers.

Innumber theory, anevil number is a non-negative integer that has an evennumber of 1s in itsbinary expansion.[1] These numbers give the positions of the zero values in theThue–Morse sequence, and for this reason they have also been called theThue–Morse set.[2] Non-negative integers that are not evil are calledodious numbers.

Examples

The first evil numbers are:

0, 3, 5, 6, 9, 10, 12, 15, 17, 18, 20, 23, 24, 27, 29, 30, 33, 34, 36, 39 ...[1]

Equal sums

The partition of the non-negative integers into the odious and evil numbers is the unique partition of these numbers into two sets that have equalmultisets of pairwise sums.[3]

As 19th-century mathematician Eugène Prouhet showed, the partition into evil and odious numbers of the numbers from0{\displaystyle 0} to2k1{\displaystyle 2^{k}-1}, for anyk{\displaystyle k}, provides a solution to theProuhet–Tarry–Escott problem of finding sets of numbers whose sums of powers are equal up to thek{\displaystyle k}th power.[4]

In computer science

Incomputer science, an evil number is said to haveeven parity.

References

  1. ^abSloane, N. J. A. (ed.),"Sequence A001969 (Evil numbers: numbers with an even number of 1's in their binary expansion)",TheOn-Line Encyclopedia of Integer Sequences, OEIS Foundation
  2. ^Charlier, Émilie; Cisternino, Célia; Massuir, Adeline (2019), "State complexity of the multiples of the Thue-Morse set",Proceedings Tenth International Symposium on Games, Automata, Logics, and Formal Verification, Electron. Proc. Theor. Comput. Sci. (EPTCS), vol. 305, pp. 34–49,arXiv:1903.06114,doi:10.4204/EPTCS.305.3,MR 4030092
  3. ^Lambek, J.;Moser, L. (1959), "On some two way classifications of integers",Canadian Mathematical Bulletin,2 (2):85–89,doi:10.4153/CMB-1959-013-x,MR 0104631
  4. ^Wright, E. M. (1959), "Prouhet's 1851 solution of the Tarry-Escott problem of 1910",American Mathematical Monthly,66 (3):199–201,doi:10.2307/2309513,JSTOR 2309513,MR 0104622
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=Evil_number&oldid=1297142674"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp