probability of divisibility by $5$ Let $m,n$ be $2$ numbers between $1-100$ . what is the probability that if we select any two random numbers then $5|(7^m+7^n)$ . My attempt last digit should be $5$ or $0$ so $7$ powers follow the pattern $7,9,3,1,7...$ so $m,n$ should be such that if one gives $7$ as last digit other should give $3$ as last digit. Same for $9,1$ . but this will take time and it was asked in a competitive exam with little space for Rough work so i believe there exists a simple logical way. Hope you guys help.

We know that $7^4\equiv 1\mod 5$ (by little Fermat's theorem). Now, if $n=4k\to 7^n\equiv 1 \mod 5$, if $n=4k+1\to 7^n\equiv 2 \mod 5$, if $n=4k+2\to 7^n\equiv -1 \mod 5$ and if $n=4k+3\to 7^n\equiv 3 \mod 5$.
We have two possibilities: $n=4k$ and $m=4k+2$ or $n=4k+1$ and $m=4k+3$. (And symmetric)
The probability is $\frac{2(25*25+25*25)}{100*100}=1/4$
