CEMC Banner

Problem of the Week
Problem E and Solution
Secret Numbers

Problem

Wakana, Yousef, and Zora are each given a card with a positive integer on it. They cannot see each other’s cards, but are told that the sum of their three numbers is \(14\). They then make the following observations.

What number does each person have?

Solution

We want to find the single solution to the problem \(x+y+z=14\) that satisfies the observations made by Wakana, Yousef, and Zora. It turns out that there are \(78\) different possible sums of three positive integers totalling \(14\). We could list all of the possible solutions and then proceed through the observations until we determine the required solution. However, our approach will be far less exhausting. At the end of the solution, we will provide a justification as to why there are \(78\) positive integer solutions to the equation \(x+y+z=14\).

The sum of the three numbers is \(14\), an even number. To generate an even sum, the three numbers must all be even, or one of the numbers must be even and the other two numbers must be odd. We will go through each of the three observations to determine the three numbers.

Note: We will show here why there are \(78\) solutions to the equation \(x+y+z=14\), where \(x,~ y,\) and \(z\) are positive integers.

Suppose \(x=1\). Then we have the following possibilities for \(y\) and \(z\).

\(y\) \(1\) \(2\) \(3\) \(4\) \(5\) \(6\) \(7\) \(8\) \(9\) \(10\) \(11\) \(12\)
\(z\) \(12\) \(11\) \(10\) \(9\) \(8\) \(7\) \(6\) \(5\) \(4\) \(3\) \(2\) \(1\)

In total, there are \(12\) positive integer solutions when \(x=1\).

Suppose \(x=2\). Then we have the following possibilities for \(y\) and \(z\).

\(y\) \(1\) \(2\) \(3\) \(4\) \(5\) \(6\) \(7\) \(8\) \(9\) \(10\) \(11\)
\(z\) \(11\) \(10\) \(9\) \(8\) \(7\) \(6\) \(5\) \(4\) \(3\) \(2\) \(1\)

In total, there are \(11\) positive integer solutions when \(x=2\).

Continuing in this manner, we can find that there are \(10\) positive integer solutions when \(x=3\), \(9\) positive integer solutions when \(x=4\), \(8\) positive integer solutions when \(x=5\), \(7\) positive integer solutions when \(x=6\), \(6\) positive integer solutions when \(x=7\), \(5\) positive integer solutions when \(x=8\), \(4\) positive integer solutions when \(x=9\), \(3\) positive integer solutions when \(x=10\), \(2\) positive integer solutions when \(x=11\), and \(1\) positive integer solution when \(x=12\).

In total, there are \[12 + 11 + 10 + 9 + 8 + 7 + 6 + 5 + 4+3+2+1 = 78\] positive integer solutions to \(x+y+z=14\).