Problem. (IMO 1985, Longlisted Problem 25). Find $8$ positive integers $n_1, \ldots, n_8$ with the following property. For every integer $k$, $-1985\leq k\leq 1985$, there are $8$ integers $\alpha_1, \ldots, \alpha_8$, each belonging to $\{-1, 0, 1\}$, such that $k = \sum_{i=1}^8 \alpha_i n_i$.
In other words, we need to find $8$ positive integers, such that adding or subtracting them yields every integers in the interval [-1985, 1985].
HINT: Let $n_k = 3^k$; $k=0,1,2,\ldots, 7$.