Злое число

Grid showing the big-endian binary representation of the first 16 evil numbers
[1] Зло
Grid showing the big-endian binary representation of the first 16 odious numbers
[2] Отвратительный
Первые 16 злых и отвратительных чисел в двоичном представлении. Обе последовательности отличаются только младшими значащими битами, которые образуют последовательность Туэ-Морса для злых чисел и её отрицание для отвратительных. Остальные биты образуют чётные числа.

In теории чисел, an числом» is a non-negative integer that has an even number of 1s in its двоичном разложении которого содержится четное.[1] These numbers give the positions of the zero values in the последовательности Туэ-Морса, and for this reason they have also been called the множеством Туэ-Морса.[2] Non-negative integers that are not evil are called «отвратительными числами».

Примеры

Первые злые числа — 0, 3, 5, 6, 9, 10, 12, 15, 17, 18, 20, 23, 24, 27, 29, 30, 33, 34, 36, 39 и так далее. [1]

Равные суммы

Разбиение неотрицательных целых чисел на отвратительные и злые числа — это единственное разбиение этих чисел на два множества, имеющих равные мультимножества попарных сумм. [3]

As 19th-century mathematician Eugène Prouhet showed, the partition into evil and odious numbers of the numbers from {\displaystyle 0} to {\displaystyle 2^{k}-1}, for any {\displaystyle k}, provides a solution to the проблемы Пруэ-Тарри-Эскотта of finding sets of numbers whose sums of powers are equal up to the {\displaystyle k}th power.[4]

В информатике

В информатике «злое число» называется числом с четной четностью.

Ссылки

  1. 1 2 Слоун, Н.  Дж.  А. (ред.), «Последовательность A001969 (Evil numbers: numbers with an even number of 1's in their binary expansion)", Онлайн -энциклопедия целочисленных последовательностей, Фонд OEIS
  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. ↑ Ламбек, Дж.;; , Л. (1959), "On some two way classifications of integers", Канадский математический бюллетень, 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

Источники

  • Участники английской Википедии. «Evil number». Перевод на русский. CC BY-SA 4.0 (текст и перевод).

Источники иллюстраций

  1. First 16 evil numbers in big-endian binary.svg · Watchduck You can name the author as "T. Piesk", "Tilman Piesk" or "Watchduck". · CC BY 4.0
  2. First 16 odious numbers in big-endian binary.svg · Watchduck You can name the author as "T. Piesk", "Tilman Piesk" or "Watchduck". · CC BY 4.0
  3. Symbol portal class.svg · Лицензия файла уточняется
Соглашение О проекте Обратная связь
2026, Альфапедия. Список материалов:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25