News for hackers. Stuff that matters.
Re:Show HN: How to store a set of four 5-bit values in one 1... by yorwba on Saturday January 27, 2018 @10:39PM (#16249648)
It's not the number of sets with at most 4 elements (which would be 1820), it's the number of bags with exactly 4 elements (i.e. the multiplicity of duplicate elements matters).

https://en.wikipedia.org/wiki/Bag_(mathematics)#Counting_mul...

There are no comments on this comment yet.