Exercise 554Number theory › PrimesHigh schoolAdded 3 Nov 2026
The smallest prime factor
#smallest prime factor#compositeness#bounds
Statement
For , find the smallest prime factor and check the primality test bound.
Hint
, so test primes up to .
Show solutionHide solution
Solution
Test primes. don't divide . .
Smallest. .
Bound check. , consistent.
Conclusion. The smallest prime factor is ; testing up to was sufficient.