First contest problem I downloaded a contest and worked the first problem which is:

There exists a digit Y such that, for any digit X, the seven-digit number 1 2 3 X 5 Y 7 is not a multiple of 11.
  Compute Y.

My attempt:
$$\begin{align}
1+3+5+7&=2+X+Y \\
16&=2+X+Y \\
14&=X+Y \\
\implies\quad Y&=14-X \\
\end{align}$$
The values of Y for which the number can be divided by $11$ are: $5,6,7,8,9.$
How would I deduce that the only value of Y for which the number can't be divided by $11$ is only $4$?

You say $Y =14-X$ if the number is divisible. Because X is a digit (in base ten), it ranges from $0$ to $9$; thus $Y$ ranges from $14-0=14$ to $14-9=5$. But note that $14$, $13$, $12$, $11$, and $10$ are not accepted values for a single digit. If the number has to be divisible by $11$, $Y$ must be $11$ less than the numbers above. Thus $Y$ can be 3, 2, 1, 0, -1 (this is still invalid), or from 5 to 9 as before.
To make the number not divisible, $Y$ must therefore be 4.
