Skip to main content
OlympiadHQ

Browse · MathNet

Print

South African Mathematics Olympiad

South Africa number theory

Problem

Find three prime factors of: NB: Show all your working!
Solution
Let us consider the expression: First, factor from the first three terms: So the expression becomes: Now, factor : So is a prime factor.

Now, consider . Notice that both and are odd, so their powers are odd, and their sum is even. Thus, is a factor.

Let us check if is a factor: - is odd - is odd - Odd + Odd = Even So is a factor.

Now, check if is divisible by . Let us check modulo : - - So Now, is if is odd, which it is. So Thus, So is a factor.

Therefore, the three prime factors are , , and .
Final answer
2, 3, 31

Techniques

Factorization techniquesModular ArithmeticIntegers