Did you know Cards Games

Hamming weight

Hamming weight: number of nonzero symbols in a string. No. 249,324 of 4,515,532 cards by fame.

Hamming weight: quick facts

Description
Number of nonzero symbols in a string
Invented
1954, Irving S. Reed
Rarity in the game
Epic card
In its topic
No. 3,928 of 9,102 “Computer science” cards
Wikipedia
article in 15 languages
Wikidata
Q5645805
Wikipedia page views
about 4,300 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Hamming weight
Photo: Laurence R. Ugalde; URL; This image was created with Fōrmulæ, CC BY-SA 4.0 (Wikimedia Commons)

Hamming weight: summary

The Hamming weight of a string is the number of symbols that are different from the zero-symbol of the alphabet used. It is thus equivalent to the Hamming distance from the all-zero string of the same length. For the most typical case, a given set of bits, this is the number of bits set to 1, or the digit sum of the binary representation of a given number and the ℓ₁ norm of a bit vector.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

  • .st — No. 1,964 of the “Computer science” cards
  • Dell Inspiron — No. 4,029 of the “Computer science” cards
  • List box — No. 4,928 of the “Computer science” cards

The best-known of the 9,102 “Computer science” cards

This card's topics

“Hamming weight” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.