Maths Olympiad Prep

Library / New Zealand Mathematical Olympiad /4 of 11

New Zealand Mathematical Olympiad

Number theory Difficulty 5.6 AIME, harder Prove it New Zealand

Problem:

Show that for all positive integers kk, there exists a positive integer nn such that n2k−7n2^{k} - 7 is a perfect square.

Solution

Solution:

Proof by induction on kk.

For the base cases (k≤3k \leq 3) we can simply choose n=23−kn = 2^{3 - k} to get n2k−7=23−7=12n2^{k} - 7 = 2^{3} - 7 = 1^{2}.

For the inductive step let k≥3k \geq 3 and assume there exist integers aa and nn such that
a2=n2k−7. a^{2} = n2^{k} - 7.
We will now endeavour to find integers bb and mm such that b2=m2k+1−7b^{2} = m2^{k + 1} - 7.

To do this we have two cases:

- If nn is even then choose b=ab = a and m=n/2m = n / 2. Thus b2=(2m)2k−7=m2k+1−7b^{2} = (2m)2^{k} - 7 = m2^{k + 1} - 7, as required.

- If nn is odd, then note that aa must also be odd. Let n=2x+1n = 2x + 1 and let a=2y+1a = 2y + 1. Now consider (a+2k−1)2(a + 2^{k - 1})^{2}.

(a+2k−1)2=a2+2ka+22k−2 (a + 2^{k - 1})^{2} = a^{2} + 2^{k}a + 2^{2k - 2}
=(n2k−7)+2ka+22k−2 \qquad = \left(n2^{k} - 7\right) + 2^{k}a + 2^{2k - 2}
={(}(2x+1)2k−7{)}+2k(2y+1)+22k−2 \qquad = \{\bigl (\}(2x + 1)2^{k} - 7\{\bigr)\} + 2^{k}\left(2y + 1\right) + 2^{2k - 2}
=(x+y+1+2k−3)2k+1−7. \qquad = \left(x + y + 1 + 2^{k - 3}\right)2^{k + 1} - 7.
So in this case we can simply choose b=a+2k−1b = a + 2^{k - 1} and m=x+y+1+2k−3m = x + y + 1 + 2^{k - 3}.

Note here that this inductive step only works when k≥3k \geq 3 (otherwise m=x+y+1+2k−3m = x + y + 1 + 2^{k - 3} is not an integer).

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.