Maths WorkshopMaths problems with full solutions
Exercise 754Number theory › Divisibility and gcdL1Added 2 Nov 2026

The smallest prime divisor

#primes#smallest divisor#compositeness

Statement

Show that if n>1n>1 is composite, then nn has a prime divisor p≤np\le\sqrt n.

Hint

Write n=abn=ab with 1<a≤b<n1<a\le b<n. Then a≤na\le\sqrt n.

Show solutionHide solution

Solution

Factorization. Since nn is composite, n=abn=ab with 1<a≤b<n1<a\le b<n.

Bound. If a>na>\sqrt n, then b≥a>nb\ge a>\sqrt n, so ab>nab>n, contradiction. Hence $a\le\sqrt