k is a positive integer. Show that there are infinitely many squares of the form 2kn - 7.
Solution
We show first that there is at least one such square. We use induction on k. For k = 1 we have 4.21 - 7 = 12. For k = 2 we have 2.22 - 7 = 12. For k = 3 we have 1.23 - 7 = 12. So it is true for k = 1, 2, 3. Suppose it is true for k, so that 2kn = m2 + 7 or m2 = -7 mod 2k. Then either m2 = -7 mod 2k+1 or m2 = 2k - 7 mod 2k+1. In the first case, we are home. In the second case, we have (m + 2k-1)2 = m2 + 2km + 22k-2 = (2k - 7) + 2km mod 2k+1 (since k ≥ 3 implies 2k-2 ≥ k+1) = -7 mod 2k+1 since m must be odd. So the result holds for all k.
So for each k we have ak such that ak2 = -7 mod 2k. But ak2 ≥ 2k - 7, which is unbounded, so { ak} is unbounded. Hence there are infinitely many distinct ak. But if h > k, then ah2 = -7 mod 2h and hence ah2 = -7 mod 2k. So there are infinitely many squares for any given k.
© John Scholes
jscholes@kalva.demon.co.uk
8 Oct 2002