# Divisible by 5

If $$p=6^m+9^n$$ where $$m,n \in (1,2,3,\ldots, 50)$$. Find the number of pairs of $$(m,n)$$ for which $$p$$ is divisible by 5.

×