Consider a sequence of numbers (a1,a2,…,a2n). Define the operation
S((a1,a2,…,a2n))=(a1a2,a2a3,…,a2n−1a2n,a2na1).
Prove that whatever the sequence (a1,a2,…,a2n) is, with ai∈{−1,1} for i=1,2,…,2n, after finitely many applications of the operation we get the sequence (1,1,…,1).