How many pairs of numbers $(a,b)$ exist such that the sum $a+b$, the product $ab$ and the quotient $\frac{a}{b}$ of these two numbers are all equal?

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.

*This problem is taken from the UKMT Mathematical Challenges.**View the archive of all weekly problems grouped by curriculum topic*

View the current weekly problem