Skip to main content
OlympiadHQ

Browse · MathNet

Print

XXVI OBM

Brazil algebra

Problem

Consider the sequence with and , . Prove that all the terms of this sequence are integer numbers.
Solution
Let's prove by induction that both is an integer and . It is certainly true for and direct substitutions show that it is true for . Suppose that it's true for . First we prove that is an integer by showing that . In fact, Reducing modulo and noting that by induction hypothesis, this is equivalent to prove that But , so . Now the part. Notice that where the last equality follows from the induction hypothesis. The other equalities follow similarly: and the induction step is complete.

Techniques

Recurrence relationsGreatest common divisors (gcd)Modular ArithmeticInduction / smoothing