Show that if $n$ is composite then there exists a prime $p \leq n^\frac{1}{2}$ such that $p\mid n$.
I would like to use contradiction to prove this claim but I'm not sure about how I should contradict this statement.
Show that if $n$ is composite then there exists a prime $p \leq n^\frac{1}{2}$ such that $p\mid n$.
I would like to use contradiction to prove this claim but I'm not sure about how I should contradict this statement.
Assume no prime $p<\sqrt n$ divides $n$, then there must be a prime $p$ such that $\sqrt n< p\le n$ and $p|n$ Let $m=n/p$. Because $p>\sqrt n$, $m\le\sqrt n$. But then there is a prime $q$ such that $q|m$ and $q\le \sqrt n$.