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: 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
- AirPort Express — Wi-Fi base station
- Homebrew Computer Club — computer hobbyist users' group in California
- Arithmetic overflow — condition in computer arithmetics when a calculation yields a result that is greater in magnitude than that which a given storage location can represent
- Romanian identity document — Romanian identification document
- Apple A10X Fusion — system on a chip (SoC) designed by Apple Inc.
- IBM Lotus Symphony — office suite for Windows, Macintosh and Linux
- Naomi Wu — Chinese DIY maker
- Searx — metasearch engine
- Nokia Lumia 930 — smartphone in the Nokia Lumia series
- Loebner Prize — annual competition in artificial intelligence
- Lsof — computing command
- Patrick Volkerding — American software engineer
- .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
This card's topics
- Mathematics (10,238 cards)
- Computer science (9,102 cards)
- Science (6,388 cards)
“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.