$M$ is an integer set with a finite number of elements. Among any three elements of this set, it is always possible to choose two such that the sum of these two numbers is an element of $M.$ How many elements can $M$ have at most?
Source: Azerbaijan EGMO TST 2017, D1 P1
Tags: set, number theory
$M$ is an integer set with a finite number of elements. Among any three elements of this set, it is always possible to choose two such that the sum of these two numbers is an element of $M.$ How many elements can $M$ have at most?