Suppose it is possible to have more than 16 terms in the sequence. Let a1,a2,…,a17 be the first 17 terms of the sequence. Consider the following array of terms in the sequence: a1a2a3a4a5a6a7a8a9a10a11 a2a3a4a5a6a7a8a9a10a11a12 a3a4a5a6a7a8a9a10a11a12a13 a4a5a6a7a8a9a10a11a12a13a14 a5a6a7a8a9a10a11a12a13a14a15 a6a7a8a9a10a11a12a13a14a15a16 a7a8a9a10a11a12a13a14a15a16a17 Let S the sum of the numbers in the array. If we sum by rows we obtain negative sums in each row, so S<0; however, it we sum by columns we obtain positive sums in each column, so S>0, a contradiction. This implies that the sequence cannot have more than 16 terms. One idea to find a suitable sequence with 16 terms is considering cycles of 7 numbers. For instance, one can try −a,−a,b,−a,−a,−a,b,−a,−a,b,−a,−a,−a,b,−a,−a. The sum of every seven consecutive numbers is −5a+2b and the sum of every eleven consecutive numbers is −8a+3b, so −5a+2b>0 and −8a+3b<0, that is, 25a<b<38a⟺15a<6b<16a. Then we can choose, say, a=7 and 105<6b<112⟺b=18. A valid sequence is then −7,−7,18,−7,−7,−7,18,−7,−7,18,−7,−7,−7,18,−7,−7.