Problem

Source: Polish MO Second round 2024 P6

Tags: factorial, number theory



Given is a prime number $p$. Prove that the number $$p \cdot (p^2 \cdot \frac{p^{p-1}-1}{p-1})!$$is divisible by $$\prod_{i=1}^{p}(p^i)!.$$