Maths Olympiad Prep

Track / Stage 6 / 400 of 400 #1400 of 1964

Problem 1400

National olympiad, first round
Number theory Difficulty 7.0 Prove it

Let f(n)=k=0n1xkyn1kf(n)=\sum_{k=0}^{n-1}x^ky^{n-1-k} with, xx, yy real numbers. If f(n)f(n), f(n+1)f(n+1), f(n+2)f(n+2), f(n+3)f(n+3), are integers for some nn, prove f(n)f(n) is integer for all nn.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. **Define the function f(n) f(n) :**
f(n)=k=0n1xkyn1k f(n) = \sum_{k=0}^{n-1} x^k y^{n-1-k}
This is a sum of terms where the exponents of x x and y y add up to n1 n-1 .

2. Establish the recurrence relation:
We need to show that f(n+1)f(n1)f2(n)=(xy)n1 f(n+1)f(n-1) - f^2(n) = -(xy)^{n-1} . Let's start by writing out the sums for f(n+1) f(n+1) , f(n) f(n) , and f(n1) f(n-1) :
f(n+1)=k=0nxkynk f(n+1) = \sum_{k=0}^{n} x^k y^{n-k}
f(n)=k=0n1xkyn1k f(n) = \sum_{k=0}^{n-1} x^k y^{n-1-k}
f(n1)=k=0n2xkyn2k f(n-1) = \sum_{k=0}^{n-2} x^k y^{n-2-k}

3. Verify the recurrence relation:
Consider the product f(n+1)f(n1) f(n+1)f(n-1) :
f(n+1)f(n1)=(k=0nxkynk)(j=0n2xjyn2j) f(n+1)f(n-1) = \left( \sum_{k=0}^{n} x^k y^{n-k} \right) \left( \sum_{j=0}^{n-2} x^j y^{n-2-j} \right)
Similarly, consider f2(n) f^2(n) :
f2(n)=(k=0n1xkyn1k)2 f^2(n) = \left( \sum_{k=0}^{n-1} x^k y^{n-1-k} \right)^2

4. Simplify the expressions:
By expanding and simplifying, we can show that:
f(n+1)f(n1)f2(n)=(xy)n1 f(n+1)f(n-1) - f^2(n) = -(xy)^{n-1}
This step involves algebraic manipulation and recognizing patterns in the sums.

5. **Conclude that (xy)n (xy)^n and (xy)n+1 (xy)^{n+1} are integers:**
Since f(n) f(n) , f(n+1) f(n+1) , f(n+2) f(n+2) , and f(n+3) f(n+3) are integers, it follows from the recurrence relation that (xy)n (xy)^n and (xy)n+1 (xy)^{n+1} are integers. Therefore, xy xy must be a rational number and an algebraic integer, implying that xy xy is an integer.

6. **Express f(n) f(n) in terms of xy xy and x+y x+y :**
We can write f(n) f(n) as a polynomial with integer coefficients in xy xy and x+y x+y . By checking small cases, we observe that (x+y) (x+y) appears with maximal power alone and with coefficient 1.

7. **Conclude that x+y x+y is an integer:**
Since f(n) f(n) , f(n+1) f(n+1) , f(n+2) f(n+2) , and xy xy are integers, x+y x+y must be a rational number and an algebraic integer, implying that x+y x+y is an integer.

8. Final conclusion:
Since xy xy and x+y x+y are integers, f(n) f(n) is a polynomial with integer coefficients evaluated at integers, hence f(n) f(n) is an integer for all n n .

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.