Exercise 1835Number theory › PrimesOlympiadAdded 3 Nov 2026
Fermat factorization
#Fermat factorization#factoring#difference of squares
Statement
Use Fermat's factorization method to factor .
Hint
Write , searching for .
Show solutionHide solution
Solution
. Start .
Check. . So .
Factor. .
Conclusion. .
Remark. Fermat factorization works well when factors are close; here and are within .