MathDB
2008 PUMaC Combinatorics A8 / B9

Source:

October 4, 2019
combinatorics

Problem Statement

A SET cards have four characteristics: number, color, shape, and shading, each of which has 33 values. A SET deck has 8181 cards, one for each combination of these values. A SET is three cards such that, for each characteristic, the values of the three cards for that characteristics are either all the same or all different. In how many ways can you replace each SET card in the deck with another SET card (possibly the same), with no card used twice, such that any three cards that were a SET before are still a SET? (Alternately, a SET card is an ordered 44-tuple of 00s, 11s, and 22s, and three cards form a SET if their sum is (0,0,0,00, 0, 0, 0) mod 33, for instance, (0,1,2,20, 1, 2, 2), (1,0,2,11, 0, 2, 1), and (2,2,2,02, 2, 2, 0) form a SET. How many permutations of the SET cards maintain SET-ness?)