1. Find all functions such that for all , 2. In triangle , the incircle touches sides , , at , , respectively. Assume there exists a point on the line such that . Let be the midpoint of the arc on the circumcircle of not containing . Prove that the line passes through or .
3. For each positive integer , denote by the number of distinct prime divisors of (for example, and ). Find all polynomials with integer coefficients, such that whenever is a positive integer satisfying , then is also a positive integer with 4. Find the greatest integer for which the following holds: whenever Alice colours exactly numbers of the set in red, Bob can colour some of the remaining uncoloured numbers in blue, such that the sum of the red numbers is the same as the sum of the blue numbers.