News for hackers. Stuff that matters.
Re:Show HN: How to store a set of four 5-bit values in one 1... by hikkigaya on Saturday January 27, 2018 @10:15PM (#16249558)
I don't understand as well...
Re:Show HN: How to store a set of four 5-bit values in one 1... by 2opt on Sunday January 28, 2018 @12:21AM (#16249968)
(n + k - 1) choose k

n = number of unique 4-bit values

k = size of multiset

(2^4 + 4 - 1) choose 4 = 3876