Maths WorkshopMaths problems with full solutions
Exercise 551Number theory › PrimesHigh schoolAdded 3 Nov 2026

Using the sieve to test primality

#sieve#primality#application

Statement

Use the sieve method to determine if 121121 is prime.

Hint

121=112121=11^2.

Show solutionHide solution

Solution

Recognition. 121=112121=11^2 directly, so composite.

Sieve. Testing primes up to 121=11\sqrt{121}=11: 2,3,5,7,112,3,5,7,11. 11∣12111\mid121, so composite.

Conclusion. 121121 is composite.