In number theory, an evil number is a non-negative number that has an even number of 1s in its binary expansion.
The first evil numbers are:
These numbers give the positions of the zero values in the Thue–Morse sequence.
Numbers that are not evil are called odious numbers.