Problem

Source: Nordic MO 2012 Q3

Tags: modular arithmetic, algebra unsolved, algebra



Find the smallest positive integer $n$, such that there exist $n$ integers $x_1, x_2, \dots , x_n$ (not necessarily different), with $1\le x_k\le n$, $1\le k\le n$, and such that \[x_1 + x_2 + \cdots + x_n =\frac{n(n + 1)}{2},\quad\text{ and }x_1x_2 \cdots x_n = n!,\] but $\{x_1, x_2, \dots , x_n\} \ne \{1, 2, \dots , n\}$.