Exercise 2.3.9:
Why these ads ...
Is the sum of the first
n square numbers equal to
(n + 2)/3 ?
Back
We might try to prove this statement via induction
- Property Q(n):
-
12 + 22 + 32 + ... + n2 = (n + 2) / 3
- Check Q(1):
- 12 = 3/3 is true
- Assume Q(n) is true:
- Assume that
12 + 22 + 32 + ... + n2 = (n + 2) / 3
- Check Q(n+1):
-
12 + 22 + 32 + ... + (n + 1)2 =
= (12 + 22 + 32 + ... + n2) +
(n+1)2 =
= (n + 2) / 3 + 3 (n + 1)2 / 3 =
= 1/3 (3 n2 + 7n + 5)
which is not equal to (n+3)/3
Hence, the induction proof failed. That does not, in principle, mean that the
statement is false. It is, however, a strong indication that property Q(n)
is false. Indeed, checking for
n = 2 gives:
so that the statement is indeed false by this counterexample.