# Supremum of the given set

Let $p$ be a prime number and a set $A = \left\{-\dfrac{m} {n} - p \dfrac{n} {m} : m, n \in \mathbb{N} \right\}$ Evaluate $\sup (A)$.

My attempt:

$\displaystyle \sup (A)=-\inf({m\over n}+{{pn}\over m}) \\ =-\inf_{{t\in {\bf Q}^+}} (t+{p\over t})=-2\sqrt{p}$

I have a trouble in $p$. Thinking that it is irrelevant to be a prime number, but it should be $p > 0$.

Is my approachment fine?

• Yes, it's fine. – Paul Frost Jun 3 '18 at 17:31