# Prime Pair

Level pending

Find the number of ordered pairs $$(p, q)$$, where both $$p$$ and $$q$$ are prime numbers, such that

$$p^2|q^3+1\qquad$$ $$and$$ $$\qquad q^2|p^6-1$$

×