# Number-Theoretic Inequality!

$\Large{0 < \left| \dfrac{p}{q} - \dfrac23 \right| < \dfrac{1}{q^2}}$

How many ordered pairs $$(p,q)$$ of integers exists such that the above inequality satisfies?

×