Maths WorkshopMaths problems with full solutions
Exercise 1128Number theory › PrimesL1Added 3 Nov 2026

Factoring a large integer

#factorization#primes#algorithm

Statement

Factor 10011001 into primes.

Hint

Try small primes and use the difference of cubes.

Show solutionHide solution

Solution

Small primes. 10011001 is odd, digit sum 22, not divisible by 33, ends in 11, not divisible by 55.

Try 77. 1001=7⋅1431001=7\cdot143.

Factor 143143. 143=11⋅13143=11\cdot13.

Conclusion. 1001=7⋅11⋅131001=7\cdot11\cdot13.

Alternative. 1001=103+1=(10+1)(102−10+1)=11⋅91=11⋅7⋅131001=10^3+1=(10+1)(10^2-10+1)=11\cdot91=11\cdot7\cdot13.