Problem

Source: VIII International Festival of Young Mathematicians Sozopol 2017, Theme for 10-12 grade

Tags: number theory



Let $p>5$ be a prime number. Prove that there exist $m,n\in \mathbb{N}$ for which $m+n<p$ and $2^m 3^n-1$ is a multiple of $p$.