Problem #PRU-30956

Problems Algebra and arithmetic Number theory. Divisibility Odd and even numbers

Problem

At the vertices of a \(n\)-gon are the numbers \(1\) and \(-1\). On each side is written the product of the numbers at its ends. It turns out that the sum of the numbers on the sides is zero. Prove that a) \(n\) is even; b) \(n\) is divisible by 4.