数论中,邪恶数(evil number)是一组非负的整数,其有着偶数个数字1于它的二进制表示法中。此名称显然是对英文“偶数”(even number)的戏仿。

前几个邪恶数是:

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

这些数字在图厄-摩尔斯数列英语Thue-Morse sequence给出了零值的位置。

不邪恶的数字被称为可恶数

参考资料

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.