Maths Olympiad Prep

Library / /4 of 11

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 n2k7n2^{k} - 7 is a perfect square.

Solution

Solution:

Proof by induction on kk.

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

For the inductive step let k3k \geq 3 and assume there exist integers aa and nn such that
a2=n2k7. a^{2} = n2^{k} - 7.
We will now endeavour to find integers bb and mm such that b2=m2k+17b^{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)2k7=m2k+17b^{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+2k1)2(a + 2^{k - 1})^{2}.

(a+2k1)2=a2+2ka+22k2 (a + 2^{k - 1})^{2} = a^{2} + 2^{k}a + 2^{2k - 2}
=(n2k7)+2ka+22k2 \qquad = \left(n2^{k} - 7\right) + 2^{k}a + 2^{2k - 2}
={(}(2x+1)2k7{)}+2k(2y+1)+22k2 \qquad = \{\bigl (\}(2x + 1)2^{k} - 7\{\bigr)\} + 2^{k}\left(2y + 1\right) + 2^{2k - 2}
=(x+y+1+2k3)2k+17. \qquad = \left(x + y + 1 + 2^{k - 3}\right)2^{k + 1} - 7.
So in this case we can simply choose b=a+2k1b = a + 2^{k - 1} and m=x+y+1+2k3m = x + y + 1 + 2^{k - 3}.

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

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

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