Skip to main content
OlympiadHQ

Browse · MathNet

Print

Balkan Mathematical Olympiad Shortlist

algebra

Problem

The sequence is defined by , and for . Prove that if and is divisible by 8 then is divisible by 5.
Solution
First, for , , we have We prove the assertion of the problem by induction on , where . For the base case , we compute , , , , , , , and . By repeatedly applying (1), we have Therefore, if is divisible by 5, so is . This completes the proof.

Techniques

Recurrence relationsModular ArithmeticDivisibility / Factorization