Olympiad Maths Prep

Track / Stage 6 / 364 of 400 #1364 of 2000

Problem 1364

National olympiad, first round
Number theory Difficulty 6.8 Prove it

Prove that for any integer n>1n>1 there exist infinitely many pairs (x,y)(x,y) of integers 1<x<y1<x<y, such that xn+yx+ynx^n+y \mid x+y^n.

([i]Dan Schwarz[/i])

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

1. **Define the pair (x,y)(x, y):**
We start by choosing xx such that x2x \ge 2. We then define yy as:
y=xn+1xn1 y = x^{n+1} - x^n - 1
This ensures that 1<x<y1 < x < y for any integer n>1n > 1.

2. **Calculate y+xny + x^n:**
y+xn=(xn+1xn1)+xn=xn+11 y + x^n = (x^{n+1} - x^n - 1) + x^n = x^{n+1} - 1

3. **Calculate x+ynx + y^n:**
x+yn=x+(xn+1xn1)n x + y^n = x + (x^{n+1} - x^n - 1)^n
We need to show that xn+11x^{n+1} - 1 divides x+(xn+1xn1)nx + (x^{n+1} - x^n - 1)^n.

4. **Simplify (xn+1xn1)n(x^{n+1} - x^n - 1)^n:**
Let z=xn+1xn1z = x^{n+1} - x^n - 1. Then:
x+zn=x+(xn+1xn1)n x + z^n = x + (x^{n+1} - x^n - 1)^n
We need to show that xn+11x^{n+1} - 1 divides x+znx + z^n.

5. **Expand znz^n:**
zn=(xn+1xn1)n z^n = (x^{n+1} - x^n - 1)^n
Using the binomial theorem, we expand znz^n:
zn=k=0n(nk)(xn+1xn)nk(1)k z^n = \sum_{k=0}^{n} \binom{n}{k} (x^{n+1} - x^n)^{n-k} (-1)^k
Notice that each term in the expansion of znz^n is a multiple of xn+1xnx^{n+1} - x^n except for the constant term.

6. Simplify the expression:
x+zn=x+k=0n(nk)(xn+1xn)nk(1)k x + z^n = x + \sum_{k=0}^{n} \binom{n}{k} (x^{n+1} - x^n)^{n-k} (-1)^k
Since xn+1xnx^{n+1} - x^n is a factor in each term of the sum except for the constant term, we can write:
x+zn=x+(xn+1xn1)n=x+(xn+11xn)n x + z^n = x + (x^{n+1} - x^n - 1)^n = x + (x^{n+1} - 1 - x^n)^n

7. Show divisibility:
We need to show that xn+11x^{n+1} - 1 divides x+(xn+11xn)nx + (x^{n+1} - 1 - x^n)^n. Notice that:
x+(xn+11xn)n=x+(xn+11xn)n x + (x^{n+1} - 1 - x^n)^n = x + (x^{n+1} - 1 - x^n)^n
Since xn+11x^{n+1} - 1 is a factor of xn+11xnx^{n+1} - 1 - x^n, it follows that xn+11x^{n+1} - 1 divides x+(xn+11xn)nx + (x^{n+1} - 1 - x^n)^n.

8. Conclusion:
Therefore, for any integer n>1n > 1, there exist infinitely many pairs (x,y)(x, y) of integers 1<x<y1 < x < y such that xn+yx+ynx^n + y \mid x + y^n.

\blacksquare

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