Problem

Source:

Tags: induction, modular arithmetic, number theory unsolved, number theory



Let $ p$ be a prime number and let $ a_1,a_2,\ldots,a_{p - 2}$ be positive integers such that $ p$ doesn't $ a_k$ or $ {a_k}^k - 1$ for any $ k$. Prove that the product of some of the $ a_i$'s is congruent to $ 2$ modulo $ p$.