Since sweetness is 000000 (the value 0), adding sweetness to any taste leaves the code unchanged, so “sweet-and-sour” and “sourness” both become the same 000011 and cannot be told apart. In addition, umami 000001 + saltiness 000010 = 000011 matches the code for sourness, so a compound taste collides with a different single taste.
×Incorrectイ
The codes run as the consecutive numbers 1, 2, 3, 4, 5, so sweetness 000001 + umami 000010 = 000011 matches the code for saltiness, and sweetness 000001 + sourness 000100 = 000101 matches the code for bitterness. The sum for a compound taste equals the value of a single taste, so the contents cannot be identified uniquely from the code.
○ウ
正解Option U assigns sweetness=000001, umami=000010, saltiness=000100, sourness=001000, and bitterness=010000, giving each of the five tastes its own independent bit that does not overlap with any other. Because the bit positions never overlap, addition produces no carry, so the bit pattern of the sum directly represents the set of tastes that are included. Following the example in the question, sweet-and-sour = sweetness 000001 + sourness 001000 = 001001, and the two bits set to 1 indicate sweetness and sourness. Removing the sweetness component is likewise expressed correctly by subtraction: 001001 − 000001 = 001000 = sourness. Because the sum itself represents the set of components, and compound tastes can be composed and decomposed by addition and subtraction, U is the correct encoding.
×Incorrectエ
In the codes 1, 3, 7, 15, 31 the lower bits overlap one another, so addition produces carries and the bit string of the sum is no longer a superposition of the component bits. For example, sweetness 000001 + sourness 001111 = 010000, and the sum retains neither the bits of sweetness nor those of sourness, so you cannot read off from the code which tastes are included. It does not make each single bit correspond to one taste the way U does, so it is inappropriate.
ここがポイント
To represent the presence or absence of several elements with a single number, assign each element its own independent, non-overlapping bit (a bit-flag representation). Then addition produces no carry, and the bit pattern of the sum directly represents the set of elements included.
If the codes are assigned as consecutive numbers or include the value 0, the sums of different combinations collide with other codes, and composition and decomposition by addition and subtraction become impossible.