MathDB
Given n integers, sum = 0, product = n, find all n.

Source: IMONST2 2022 Senior #2

July 4, 2023
algebra

Problem Statement

It is known that there are nn integers a1,a2,,ana_1, a_2, \cdots, a_n such that a1+a2++an=0anda1×a2××an=n.a_1 + a_2 + \cdots + a_n = 0 \qquad \text{and} \qquad a_1 \times a_2 \times \cdots \times a_n = n. Determine all possible values of nn.