Question 1
Call a 5-tuple of integers arrangeable if its entries can be labeled $a,b,c,d,e$ in some order so that $a-b+c-d+e=29$. Determine all 2017-tuples of integers $n_1,\ldots,n_{2017}$ such that, when placed clockwise around a circle, every five consecutive positions form an arrangeable 5-tuple.
Proposed by Warut Suksompong, Thailand.
Proposed by Warut Suksompong, Thailand.