For this question, we will need to introduce a
different way of thinking about the cards. We can encode each card by a
-tuple , where each entry is either , , or as in the following table:
Entry in the -tuple |
Number |
Shading |
Colour |
Shape |
|
|
open |
red |
diamond |
|
|
striped |
green |
oval |
|
|
solid |
purple |
squiggle |
For example, consider the cards from one of the sets from Problem 1
above:
These cards are encoded by the tuples , , and respectively.
Let’s think about what it takes for three -tuples to form a set. Each coordinate
in the tuple (ie, the first, second, third, or fourth entry) corresponds
to one of the properties (number, shading, colour, and shape, in that
order).
The condition that a property has the same option across the three
cards translates to the entry in the corresponding coordinate being the
same across all three -tuples. In
the example above, all three cards are red. Therefore, the entries in
the third coordinates of all three -tuples are .
The condition that a property has all different options across the
three cards translates to each of , , and appearing in the corresponding
coordinate in the three -tuples.
In the example above, all three cards have different shadings.
Therefore, the entries , , and appear in some order in the second
coordinates of the three -tuples.
Our goal now is to characterise exactly when a collection of three
numbers is either , , , or . Note that in the last case,
must be equal to in some order (not necessarily
, , and ).
Suppose are three integers,
each of which is either , , or . Then is a multiple of three exactly when either or , , and are all distinct.
Let’s justify this claim. First, if then is equal
to , , or . If , , and are distinct, then , , and are , , and in some order. Therefore, . Now suppose it
is not true that all three of ,
, and are equal or distinct. That means two
of the numbers are equal, and one is not. We can check the sum in each of these cases. In all of these cases, the sum
is not a multiple of
, so the claim is true!
Great! Let’s harness this by adding up coordinates among tuples to
check whether or not three -tuples
come from cards that form a set.
To make our lives a little easier, given two -tuples, let’s add them together to
create another -tuple by simply
adding up the coordinates. More precisely, given two -tuples and , we define If you have experience with vectors, you may recognise
that this is exactly how we add two vectors together. Using this
definition of addition for -tuples, we can repeatedly add as many
-tuples together as we like!
In particular, given three -tuples we can add them together to get
another -tuple. The resulting
-tuple may include entries other
than , , and , but that’s okay! By using the claim
above, we know that the three -tuples correspond to three cards that
form a set exactly when the -tuple
resulting from adding them together has the property that every entry is
a multiple of . Check for yourself
that this works for the example set at the beginning of the solution to
Problem .
More precisely, suppose , , and are three -tuples corresponding to SET! cards.
Then has every coordinate a multiple of exactly when the cards corresponding to
, , and form a set. Choose your
favourite set, and your favourite non-set, and check this for
yourself!
We are now ready to attack the original question. First convert the
cards in a SET! deck into -tuples. For each coordinate, the
integers , , and appear exactly times each (this is because once the
entry in a coordinate has been fixed, there are three different options
for each of the remaining three coordinates, and ). Therefore, for
each coordinate, the sum over all entries in that coordinate is , which is a multiple of .
Considering the question at hand, we have collected sets from a full SET! deck. We want to
show that the remaining three cards also form a set. Let be
the three -tuples corresponding to
the remaining three cards. For the cards used in the sets, label the -tuples
so that for every positive integer , , and
form a set (ie,
form a set,
form a set and so on).
Then we know that for every positive integer ,
is a -tuple where every coordinate
is a multiple of . Summing up all
of the resulting -tuples gives us
that where are all multiples of . We also know We can now conclude that All of , , , , and are all multiples of . Therefore, , , , and are multiples of . We can finally conclude that and are -tuples corresponding to three cards
that form a set.