I want to have a dictionary that assigns a value to a set of integers.
For example key is [1 2 3] and value will have certain
key
[1 2 3]
value
You could sort the numbers and select a sample from predetermined indices and leave rest as zero if current value has less numbers. Or you could xor them, or whatever.