An odious number is a non-negative integer that has an odd number of 1s in its binary representation. In contrast, a number that has an even number of 1s in its binary form is referred to as an "elegant number." For example: - The number 3 in binary is `11`, which contains two 1s (an even number), so it is not odious.
New to topics? Read the docs here!