Considering that I have k distinct values and use binary encoding to represent them with the minimum amount of bits, eg. (for k = 6):
00
01
100
101
110
111
What is the name given to this type of encoding? I remember seeing it, but I can not find it in the searches anymore, I want to go deeper into the subject. Anybody know? Sources? Thank you.