proof $\forall n \exists p (p^2 \leq n <(p+1)^2)$

63 Views Asked by At

how can i prove this?

$\forall n \exists p (p^2 \leq n <(p+1)^2)$

The domain of quantifiers is N.

It came from discrete mathematics, and I don't know how to start proofing.

1

There are 1 best solutions below

3
On BEST ANSWER

If $n$ is a perfect square we can take $p=\sqrt{n}$. If not let $p$ be the largest natural number for which $p^2 < n$. Then $n < (p+1)^2$, since otherwise we get a contradiction on the maximality of $p$.