Jump to content

Odious number

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Dhrm77 (talk | contribs) at 22:40, 29 April 2016 (adding categories). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics

In number theory, an odious number is a non-negative number that has an odd number of 1s in its binary expansion.

The first odious numbers are: 1, 2, 4, 7, 8, 11, 13, 14, 16, 19, 21, 22, 25, 26, 28, 31, 32, 35, 37, 38 ... [1]

Numbers that are not odious are called evil numbers.

See also

Thue–Morse sequence

References

  1. ^ Sloane, N. J. A. (ed.). "Sequence A000069 (Odious numbers: numbers with an odd number of 1's in their binary expansion)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.