this post was submitted on 22 Apr 2024
7 points (81.8% liked)
Mathematics
495 readers
2 users here now
A community for discussing mathematics and developments in mathematics.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@oblomov well, a Gray code codes all n-bit sequences from 000...0 to 111...1. It's a bit overkill (we don't need the sequence with all 0) but probably the overhead is just 1.
Cc: @mrdk @mathematics @[email protected] @[email protected]