Problem

Source: Iranian TST 2018, third exam day 1, problem 3

Tags: polynomial, Integer Polynomial, Iranian TST, number theory, Iran



$n>1$ and distinct positive integers $a_1,a_2,\ldots,a_{n+1}$ areĀ  given. Does there exist a polynomial $p(x)\in\Bbb{Z}[x]$ of degreeĀ  $\le n$ that satisfies the following conditions? a. $\forall_{1\le i < j\le n+1}: \gcd(p(a_i),p(a_j))>1 $ b. $\forall_{1\le i < j < k\le n+1}: \gcd(p(a_i),p(a_j),p(a_k))=1 $ Proposed by Mojtaba Zare