Problem

Source: Bulgarian National Olympiad 2006 Second day Problem 1

Tags: modular arithmetic, number theory proposed, number theory



Let $p$ be a prime such that $p^2$ divides $2^{p-1}-1$. Prove that for all positive integers $n$ the number $\left(p-1\right)\left(p!+2^n\right)$ has at least $3$ different prime divisors. Aleksandar Ivanov