Let $p$ be a prime number and $k No solutions were submitted. For a detailed solution see the following link {{:pow:2025sproblem7.pdf|Solution}}.