# Problems and Solutions Problem 1. Find all prime numbers $p$ for which there exist positive integers $x, y$ and $z$ such that the number $$ x^{p}+y^{p}+z^{p}-x-y-z $$ is a product of exactly three distinct prime numbers. Solution. Let $A=x^{p}+y^{p}+z^{p}-x-y-z$. For $p=2$, we take $x=y=4$ and $z=3$. Then $A=30=2 \cdot 3 \cdot 5$. For $p=3$ we can take $x=3$ and $y=2$ and $z=1$. Then again $A=30=2 \cdot 3 \cdot 5$. For $p=5$ we can take $x=2$ and $y=1$ and $z=1$. Again $A=30=2 \cdot 3 \cdot 5$. Assume now that $p \geqslant 7$. Working modulo 2 and modulo 3 we see that $A$ is divisible by both 2 and 3. Moreover, by Fermat's Little Theorem, we have $$ x^{p}+y^{p}+z^{p}-x-y-z \equiv x+y+z-x-y-z=0 \bmod p \text {. } $$ Therefore, by the given condition, we have to solve the equation $$ x^{p}+y^{p}+z^{p}-x-y-z=6 p $$ If one of the numbers $x, y$ and $z$ is bigger than or equal to 2 , let's say $x \geqslant 2$, then $$ 6 p \geqslant x^{p}-x=x\left(x^{p-1}-1\right) \geqslant 2\left(2^{p-1}-1\right)=2^{p}-2 $$ It is easy to check by induction that $2^{n}-2>6 n$ for all natural numbers $n \geqslant 6$. This contradiction shows that there are no more values of $p$ which satisfy the required property. Remark. There are a couple of other ways to prove that $2^{p}-2>6 p$ for $p \geqslant 7$. For example, we can use the Binomial Theorem as follows: $$ 2^{p}-2 \geqslant 1+p+\frac{p(p-1)}{2}+\frac{p(p-1)(p-2)}{6}-2 \geqslant 1+p+3 p+5 p-2>6 p $$ We can also use Bernoulli's Inequality as follows: $$ 2^{p}-2=8(1+1)^{p-3}-2 \geqslant 8(1+(p-3))-2=8 p-18>6 p $$ The last inequality is true for $p \geqslant 11$. For $p=7$ we can see directly that $2^{p}-2>6 p$. One can also use calculus to show that $f(x)=2^{x}-6 x$ is increasing for $x \geqslant 5$. Problem 2. Let $a, b$ be two distinct real numbers and let $c$ be a positive real number such that $$ a^{4}-2019 a=b^{4}-2019 b=c . $$ Prove that $-\sqrt{c}0 $$ thus $a b<0$. Finally, $a^{2}+a b+b^{2}=(a+b)^{2}-a b>-a b$ (the equality does not occur since $a+b \neq 0$ ). So $$ -c=a b\left(a^{2}+a b+b^{2}\right)<-(a b)^{2} \Longrightarrow(a b)^{2}(a b)^{2} $$ which gives that $a b>-\sqrt{c}$. Remark. One can get that $x^{4}-2019 x-c$ has only two real roots by showing (e.g. by calculus) that it is initially decreasing and then increasing. Also, instead of Vieta one can also proceed by factorising the polynomial as: $$ x^{4}-2019 x-c=\left(x^{2}-(a+b) x+a b\right)\left(x^{2}+(a+b) x-\frac{c}{a b}\right) . $$ Since the second quadratic has no real roots, its discriminant is negative which gives that $c>(a b)^{2}$. Problem 3. Triangle $A B C$ is such that $A B