1

I know that there are a lot (and easier) ways to prove this, but I would like to know if this is correct.

Prove that $n(n+1)$ is even for any $n\in\mathbb{N}$.

Suppose by contradiction that this isn't true, so $n(n+1)=2l+1$ for some $l\in\mathbb{Z}$, but we know that $$\sum_{k=0}^{n} k=\frac{n(n+1)}{2}$$ Since the left hand side is a sum of positive integers it must be a positive integer, but $n(n+1)=2l+1$ and so the right hand side is $\frac{n(n+1)}{2}=\frac{2l+1}{2}=l+\frac{1}{2} \in \mathbb{Q} \setminus {\mathbb{Z}}$ and this is absurd.

Kumar
  • 1,167
ZaWarudo
  • 809
  • 2
    Yes, it can be shorter by saying that $$n(n+1)=2\sum_{k=1}^n k$$ and $\sum_{k=1}^n k\in\mathbb{Z}$. – Tuvasbien Apr 21 '20 at 20:52
  • 2
    It's correct if we accept the assumptions. You shouldn't use the variable $k$ as $n=2k+1$ and use it as the index in $\sum k$. You don't need assume $n(n+1)$ is odd. Just say: $\frac {n(n+1)}2$ is the sum of integers so is an integer. And if $\frac {n(n+1)}2$ is an integer than $2|n(n+1)$. No need to ever assume $n(n+1)$ is odd. – fleablood Apr 21 '20 at 20:59
  • $n, n+1$ are two consecutive integers. One is odd, the other even. Hence one is even, hence, $n(n+1)$ is even. – amWhy Apr 22 '20 at 15:38

4 Answers4

4

Congratulations, you discovered the natural telescopic inductive proof. Let's highlight it.

Let $\,f(n) = (n\!+\!1)n.\,$ Then $\,f(n)-f(n\!-\!1) = (\color{#c00}{n\!+\!1})n-n(\color{#c00}{n\!-\!1}) = \color{#c00}2n\,$ is even

i.e. $\,f(n)\,$ has same parity as $\,f(n\!-\!1),\,$ thus $\,f(0)=0$ even $\,\Rightarrow\ f(n)$ even by induction.

Telescopically summing $\,f(k)-f(k\!-\!1) = 2k\,$ makes the factor of $\,\color{#c00}2\,$ explicit, namely

$$\begin{align}f(n)-f(0) &\,=\, \sum_{k=1}^n\ [f(k)-f(k-1)]\\ \Rightarrow\,\ (n\!+\!1)n &\,=\, \sum_{k=1}^{n} \color{#c00}2k\ \ \text{is $\:\!\color{#c00}{\rm even}$}\end{align}\qquad$$

This is a prototypical example of telescopic induction. You can find many other examples in various posts on telescopy and related topics.

J. W. Tanner
  • 60,406
Bill Dubuque
  • 272,048
  • Very interesting answer, I didn't know about telescopic inductive proofs. Thanks! – ZaWarudo Apr 22 '20 at 13:45
  • 1
    @ZaWarudo See here for an example that has a nice visual depiction. Telescopy is the "master method" for problems like this. If you master it then such problems become absolutely trivial. – Bill Dubuque Apr 22 '20 at 14:53
3

It works if you can assume

1) it is known that $\sum_{k=0}^n k = \frac {n(n+1)}2$

and 2) it is known that if $a_1, a_2,....,a_n$ are all integer then $\sum a_i$ is an integer.

But then, a) I'd suggest there is no reason to assume $n(n+1)$ is odd. The definition of "even" is $m$ is even $\iff 2|m \iff \frac m2$ is an integer $\iff $ there is an integer $w$ so that $m = 2w$. And as $\frac {n(n+1)}2 = \sum_{k=0}^nk $ is and integer, it follows directly that $n(n+1)$ is even.

b) I wouldn't use $k$ for both $\sum_{k=0}^n k$ and fro $n=2k+1$. Those are the same variable for different purposes. ANd $\sum_{k=0}^nk = \frac {n(n+1)}2 = \frac k2$ would be ... just plain nutty.

c) I'm going to be a real asshat and ask you how you know that "$m$ is odd" actually means "there is a $k$ so that $m = 2k+1$"? Why can't $m$ be odd so there doesn't exist any $w$ so that $m = 2w$ but what if there isn't any $k$ so that $m = 2k+1$? Do you have any reason to thing every number must be either equal to $2k$ for some $k$ or equal to $2k+1$ for some $k$? Why can't some numbers be neither? Why can't some numbers be both?

You don't actually have to answer c). I'm just being a real jerk. But it's worth thinking about.

(For that matter: I'm being a jerk with 2). Of course the sum of integers is an integer because.... um.... well, because.....)

fleablood
  • 124,253
  • fleablood. Very nice:) – Peter Szilas Apr 21 '20 at 21:24
  • Actually I love answers like these, I will answer.
    1. Yeah, I suppose to know that formula because it can be proved in a very simple way considering twice the sum and so it doesn't need much tools (except for knowing I can add/multiply the same quantity on both sides of an equation).
    2. Jerkiness apart :D isn't it an axiom of integers?

    c) That's interesting for me, of course I specify that $l$ (see the edit in my original post) is a natural number, so by definition of odd and even numbers it should me enough, but maybe it's more subtle; can you tell me something about? Thanks!

    – ZaWarudo Apr 22 '20 at 13:49
  • @ZaWarudo Re: $(1)$ you don't need to know the summation formula if you use telescopy. Re: $(2),$ to rigorously prove that the sum of $n$ integers is an integer for all $n$ requires induction (same for a sum of $n$ even integers is even - a subtlety glossed over in the sum in my answer). For $(c)$ you can use the Division Algorithm (with Remainder), i.e. divide $m$ by $2\ \ $ – Bill Dubuque Apr 22 '20 at 14:47
2

Your proof is correct, but with the same plan of attack, you can have a direct proof . . .

As you argued, ${\large{\frac{n(n+1)}{2}}}$ is an integer, equal to $m$ say, hence \begin{align*} &\frac{n(n+1)}{2}=m\\[4pt] \implies\;&n(n+1)=2m\\[4pt] \end{align*} so $n(n+1)$ is even.

But note: Your proof only works as is for the case where $n$ is a nonnegative integer. The more standard proofs work for all integers $n$.

quasi
  • 58,772
1

Yes, your proof looks correct. Certainly an interesting way to prove it. FYI, I would recommend not using $k$ as the index you sum over as it makes the proof confusing since $k$ represents two different things.

  • Thanks, you're absolutely right. Someone suggested an edit similar to your advice and I've accepted it. – ZaWarudo Apr 22 '20 at 13:44