Problem

Source: Brazil iberoamerican tst 3 p1

Tags: number theory



Let $p>10$ be a prime. Prove that there is positive integers $m,n$ with $m+n<p$ such that $p$ divides $5^m7^n -1$