Let be an integer. Prove that is prime if and only if for any representation of as a sum of four positive integers , it is true that .
Problem 875
Official solution
The statement of the problem is equivalent to saying that an integer is composite if and only if there exists a representation of as the sum of four positive integers such that .
() If and , then
hence .
() If , with , is a composite number, we can choose , , , . This choice can easily be guessed by writing with .