Let $p, q$ positive prime numbers, $q > 5$. Prove that if $q \mid \left(2^{p} + 3^{p}\right)$ then $q > p$.
First, it's clear that $p \ne q$ because, using Fermat's little theorem, $2^p = 2 \mod p$ and $3^p = 3 \mod p$, therefore $5=0 \mod p$ false because $q \gt 5$.
Now suppose $q \lt p$. I tried to analyse $2^p +3^p \mod q$ but I didn't get a contradiction.