Powers of 2
Position (from right, starting at 0)76543210
Value1286432168421

Binary to decimal: add place values where the bit is 1. Decimal to binary: divide by 2 and read remainders upward.

— Method
  • Positions are powers of 2: 1, 2, 4, 8, 16, 32, 64, 128.
  • n bits give 2^n patterns, maximum 2^n - 1.
  • Always check by converting back.