Problem

Source: 2017 Korea Winter Program Practice Test 1 Day 2 #4

Tags: combinatorics, number theory



For a nonzero integer $k$, denote by $\nu_2(k)$ the maximal nonnegative integer $t$ such that $2^t \mid k$. Given are $n (\ge 2)$ pairwise distinct integers $a_1, a_2, \ldots, a_n$. Show that there exists an integer $x$, distinct from $a_1, \ldots, a_n$, such that among $\nu_2(x - a_1), \ldots, \nu_2(x - a_n)$ there are at least $n/4$ odd numbers and at least $n/4$ even numbers.