If $n$ is prime than there is no natural number other than $1$ and $n$ that divides $n$.
So if $n$ is not prime then there is at least one natural number other than $1$ and $n$ that divides $n$. Call one of these numbers $k$.
There are 3 possibilities.
- $k > n$.
Strike this out. If $k > n>0$ then $1 > \frac nk > 0$ and $\frac nk$ is not an integer and $k\not \mid n$. So this is impossible.
- $n > k > \sqrt n > 0$. If $k|n$ then $\frac nk = m$ is an integer and as $k > \sqrt n$ then $m =\frac nk < \frac n{\sqrt n} = \sqrt n$.
Now $\frac nm = k$ is an integer so $m|n$. And $m < \sqrt n$. So there is a natural number $m\le \sqrt n$ that divides $n$!
- $1 < k \le \sqrt n$. Then there is a natural number $k \le \sqrt n$ that divides $n$.
....
So..... If $n$ is not prime then there will be a natural number between $1$ (not inclusive) and $\sqrt n$ (inclusive possibly) that divides $n$.