Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is $$ f(n,x,y)=\sum^{n-1}_{k=1}{n\choose k}x^{n-k}y^k,\qquad\qquad\forall~n>0~\text{and}~x,y\in\mathbb{Z}$$ always divisible by $2$?

share|cite|improve this question
Having $100$% $\LaTeX$ on the title isn't a good idea. – Git Gud May 24 '13 at 6:35

(Hint) An odd number raised to any power is odd, and an even number raised to any power is even. In particular, $$ (x + y)^n \equiv (x + y) \pmod 2 $$ Using this along with the binomial formula, you should be able to prove the result.

share|cite|improve this answer
Thank you, Goos. – Trancot May 24 '13 at 6:43
Yes, but your congruence is weak. It should be $(x+y)^n\equiv (x^n+y^n)\pmod{2}$, correct? – Trancot May 24 '13 at 6:49
@BarisaBarukh that is true as well (in fact that is true for any prime). However, in the particular case of mod 2, I usually just replace all $n$th powers with the number itself, because it makes things simpler. – 6005 May 24 '13 at 6:56
But you are correct that using $(x + y)^n \equiv x^n + y^n$ makes the proof more direct. – 6005 May 24 '13 at 6:58

In fact, Goos and Norbert have given the answer. (And you should also assume $n\in \mathbb{N}$)

$$ f(n,x,y) = (x+y)^n - x^n -y^n $$


  • both $x$ and $y$ are even: even - even - even = even;

  • both $x$ and $y$ are odd: even - odd - odd = even;

  • $x$ is even and $y$ is odd: odd - even - odd = even;

  • $y$ is odd and $x$ is even: just like the case above.

So, $f(n,x,y)$ is always even.

share|cite|improve this answer

Hint: Recall binomial formula $$ (x+y)^n=\sum\limits_{k=0}^n{n\choose k} x^{n-k} y^k $$

share|cite|improve this answer
Yes, I know that. This is how I came to the above result. – Trancot May 24 '13 at 6:37
Ok do you know anything about Frobenius automorphism? – Norbert May 24 '13 at 6:40
I've used Frobenius in an elementary differential equations course. – Trancot May 24 '13 at 6:41
I might be able to manage if you can explain it clearly. – Trancot May 24 '13 at 6:42
bin-o-mail? That sounds like an automatic mail deleter! :-) – Asaf Karagila May 24 '13 at 6:43

Try setting $y=-x+a$ and expand the powers.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.