I am trying to prove this:
Prove that a positive integer $n$ is a prime number, if no prime $p$ less than or equal to $\sqrt n$ divides $n$.
This is how I thought of starting:
Let us assume the smallest prime factor of $n$ to be $P$. So, $n = (m)(P)$ From this it follows that $(n) \geq (P)^2$ or $\sqrt n \geq (P)$ i.e $n$ has at least one prime divisor smaller than $\sqrt n$ whenever it is composite. So if it has no prime divisor, then it must be prime.
However, I'm not quite satisfied with the proof. Can someone please provide me an easier approach to the proof?
Let $n$ be an integer such that no prime number, less than or equal to $\sqrt{n}$, divides $n$.
Consider a prime divider $q$ of $n$. By assumption, $q > \sqrt{n}$. So $\frac{n}{q} < \sqrt{n}$. But all the dividers of $\frac{n}{q}$ are also dividers of $n$, so by assumption, these dividers are all not prime. This means that $\frac{n}{q}$ has no prime divider, so the only possibility is that $\frac{n}{q} = 1$.
So we proved that the only prime divider of $n$ is $n$, in other words, $n$ is prime.