MathDB
European Mathematical Cup 2016 senior division problem 1

Source:

December 31, 2016
number theory

Problem Statement

Is there a sequence a1,...,a2016a_{1}, . . . , a_{2016} of positive integers, such that every sum ar+ar+1+...+as1+asa_{r} + a_{r+1} + . . . + a_{s-1} + a_{s} (with 1rs20161 \le r \le s \le 2016) is a composite number, but: a) GCD(ai,ai+1)=1GCD(a_{i}, a_{i+1}) = 1 for all i=1,2,...,2015i = 1, 2, . . . , 2015; b) GCD(ai,ai+1)=1GCD(a_{i}, a_{i+1}) = 1 for all i=1,2,...,2015i = 1, 2, . . . , 2015 and GCD(ai,ai+2)=1GCD(a_{i}, a_{i+2}) = 1 for all i=1,2,...,2014i = 1, 2, . . . , 2014? GCD(x,y)GCD(x, y) denotes the greatest common divisor of xx, yy.
Proposed by Matija Bucić