30

Prove that for every $n\geq m \geq1$ natural numbers, the following number is an integer:

$${\gcd(n,m)\over n}\cdot{n\choose m}$$

Where $\gcd$ is the greatest common divisor.

I tried to make it simpler by cancelling the $n$ from the left side, and making it $(n-1)!$ on the right: $\gcd(n, m) \cdot \frac{(n-1)!}{m!(n-m)!}$, but can't really go further.

This was problem B-2 on the 2000 Putnam exam.

Bill Dubuque
  • 285,713
Atvin
  • 3,602
  • 4
    Try to use this: "Bézout's identity (also called Bézout's lemma) is a theorem in the elementary theory of numbers: let a and b be nonzero integers and let d be their greatest common divisor. Then there exist integers x and y such that ax+by=d"

    http://en.wikipedia.org/wiki/B%C3%A9zout%27s_identity

    – marvinthemartian Feb 25 '15 at 18:42
  • I tried considering group actions but it didn't pan out. In particular, $\Bbb Z/n\Bbb Z$ acts on ${1,2,\cdots,n}$ which induces an action on $\binom{n}{m}$ (the collection of $m$-subsets of ${1,\cdots,n}$). If the subgroup $\langle\bar{m}\rangle$ acts freely on $\binom{n}{m}$ then the claim would follow from orbit-stabilizer. Unfortunately the action needn't be free - the smallest counterexample is $m=2$, $n=4$. – anon Feb 26 '15 at 02:23
  • For combinatorial proofs see e.g. this 2013/6 post.. $\ \ $ – Bill Dubuque Aug 29 '25 at 01:06
  • The case $(n,m)=1$ is in exercise 4.1.13 of Niven, Zuckerman, Montgomery's An Introduction to the Theory of Numbers 5th Ed. Generalization: https://math.stackexchange.com/questions/3487305/prove-that-frac-left-sum-i-1rm-i-1-right-cdot-gcdm-1-m-2-cd – 19021605 Oct 26 '25 at 14:27

3 Answers3

62

Write $nx+my=\gcd(n,m)$, with $x,y\in\mathbb{Z}$

Then:

$$\frac{\gcd(n,m)}{n}\binom{n}{m}=\frac{nx+my}{n}\binom{n}{m}=x\binom{n}{m}+y\,\frac{m}{n}\binom{n}{m}=x\binom{n}{m}+y\binom{n-1}{m-1}\in\mathbb{Z}$$

Bill Dubuque
  • 285,713
user2520938
  • 7,684
19

Here is a conceptual way to discover a proof. Recall that a fraction $Q$ can be written two ways, with denominators both $\,n\,$ and $\,m\!\color{#c00}\iff $ it can be written with denom being their gcd $(n,m).\, $ Since by definition, $\,0\neq d\,$ is a denom for $\,Q\!\iff\! d\:\!Q\in \Bbb Z,\,$ the above becomes in the OP

${\rm for}\,\ Q={\small {\displaystyle\dfrac{1}n{n\choose m}}}\!: \ \ \overbrace{(n,m)\:\!Q\:\!\in\:\! \Bbb Z}^{\small \textstyle (n,m)\:\!\ {\rm denom}}\color{#c00} \iff $ $\overbrace{\underbrace{n\:\!Q,\ \ m\:\!Q}_{\!\!\displaystyle\small{n\choose m}{\large ,}\:\!{n\!-\!1\choose m\!-\!1}\!\!\!\!\!}\in\, \Bbb Z}^{\textstyle\small n,m\,\ \rm denoms^{\vphantom{|^|}}},\ $ ${\rm which}\ {\mathit is}\ \bf true \ \color{#c00}\checkmark$


Remark $\ mQ \in\Bbb Z\,$ by scaling the well-known ${\small {\displaystyle{n\choose m} = \dfrac{n}m {n\!-\!1\choose m\!-\!1}}}\,$ by $\:\!\large \frac{m}n.\,$ This (unscaled) equation is used in the same way here. This method applies to many binomial coef. equations put in form $MA = NB,\,$ viz. $\,Q = \frac{A}N\:\!$ has denoms $M,N\,$ so it also has denom their gcd $\:\!(M,N).\,$

The key linked Lemma is an additive form of the more commonly known ubiquitous group theory Lemma below (since in the above proof the least denominator of a fraction is simply its order in the rational circle group $\,\Bbb Q/\Bbb Z = \,$ rationals $\!\bmod 1),\,$ where we used $\:\!\color{#0af}{\rm U}$ = universal gcd property.

$\qquad\qquad\quad\ \overbrace{\color{#c00}{q^m} =\, 1\, =\, \color{#00}{q^n}}^{\textstyle\small m,n\,\ \rm periods}\iff\!\!\! \overbrace{q^{\color{#0a0}{(m,n)}}=1}^{\textstyle\small (m,n)\,\ \rm a\ period}\!\!\!\!,\ $ by $\,\ {\rm ord}\,q\mid m,n\!\!\overset{\color{#0af}{\rm U}\!}\iff {\rm ord}\,q\mid (m,n)$

Similarly $\:\!\ \color{#c00}{f_m(q)}=0=\color{c00}{f_n(q)}\!\iff\! \color{#0a0}{(f_m,f_n)}(q)=0\,$ for polynomials $\,f_m,f_n\in F[x],\,$ where a (monic) minimal polynomial of $\,q\,$ is its "order" (= generator of ideal of poly's with $\:\!q\:\!$ as root)

Generally all of the above are special cases of the fundamental fact that principal ideals in a PID are $\rm\color{#0a0}{closed\ under\ gcd}$: $\, m,n\in I=(d)\Rightarrow \color{#0a0}{(m,n)}\in I,\,$ i.e. $\,d\mid m,n\Rightarrow d\mid (m,n),\,$ hence nonzero ideals are generated by any "least" element (the "order" in above cases), where the size measure for "least" can be #prime factors in a PID, or least Euclidean size in a Euclidean domain, e.g. least absolute value in $\Bbb Z,\,$ and least degree in $F[x])$.

For more on this viewpoint (and denominator, order, annihilator ideals) see e.g. here and here.

Bill Dubuque
  • 285,713
  • Nice, that's a bit harder (in my opinion) to come up with, but very elegant. – user2520938 Feb 25 '15 at 21:01
  • @user2520938 See the edit which emphasizes the innate conceptual viewpoint. – Bill Dubuque Feb 25 '15 at 21:05
  • 3
    It's rather sad that answers that strive to emphasize conceptual viewpoints often get downvoted - whereas those that don't often get upvoted. This of course is one of the great challenges of mathematical pedagogy - how to coax students to comprehend something a bit more general when it seems easier to simply go with something less general (e.g. proofs pulled out of a hat like magic). – Bill Dubuque Nov 03 '21 at 22:13
  • 2
    Applying this lemma to $q=\frac{1}{n}\binom{n}{m}$ is just as much pulled out of a hand as the approaches of the other answers. At the end there is not much conceptually deep/interesting going on here, it is just in one way or another playing around with fundamental properties of the gcd. – user2520938 Nov 05 '21 at 13:01
  • 1
    @user2520938 The point is that order-theoretic viewpoint emphasized above is ubiquitous, and viewing it this was makes the proof much more intuitive (it is not simply unmotivated "playing around"). – Bill Dubuque Nov 05 '21 at 16:12
2

Consider the set of subsets with $m$ elements of $\mathbb{Z}/n$. The group $\mathbb{Z}/n$ acts on it by translations:

$$k * \{a_1, \ldots, a_m\}= \{k+a_1, \ldots, k+a_m\}$$

Now if $k$ fixes $\{a_1, \ldots, a_m\}$, then $$\sum_{i=1}^m a_i = \sum_{i=1}^m (k + a_i)$$

so $m k= 0$ in $\mathbb{Z}/n$. Hence every orbit has cardinality divisible by $\frac{n}{\gcd(n,m)}$, and so has the full set.

$\bf{Added:}$

Another approach: Let $n\ge m \ge k \ge 0$ integers. We have the equality

$$\binom{n}{m} \cdot \binom{m}{k} = \binom{n}{k} \cdot \binom{n-k}{m-k}$$

since both numbers count the numbers of pairs $A\supset B$ of subsets of $\{1,\ldots, n\}$, with $|A| = m$, $|B|=k$, therefore the equality of fractions:

$$ \frac{\binom{m}{k}}{\binom{n}{k}}=\frac{\binom{n-k}{m-k}}{\binom{n}{m}} $$

Now convert the first fraction to its simplest form. The denominator will be

$$ \frac{\binom{n}{k}}{\gcd(\binom{m}{k}, \binom{n}{k})}$$

It will be the simplest form of the second fraction too. We conclude that $$ \frac{\binom{n}{k}}{\gcd(\binom{m}{k}, \binom{n}{k})} \text{ divides } \binom{n}{m}$$

For $k=1$ we obtain our result.

Note the from the above we also conclude that any two binomial coefficients $\binom{n}{m}$, $\binom{n}{k}$, with $0<k,m<n$ are not relatively prime.

$\bf{Added:}$ So what was the idea: write a fraction with denominator $\binom{n}{m}$ equal to a second fraction, and then reduce the latter one to simpler terms. One could try to juggle with this, for instance showing that $$(n+1) \mid \binom{2n}{n}$$, since

$$\frac{\binom{2n}{n+1}}{\binom{2n}{n}} = \frac{n}{n+1}$$

We want though a different generalization of the statement in the question, using $q$-binomial coefficients. Using the interpretation of them ( for $q$ a prime power) as number of subspaces, we get again the formula:

$$ \frac{\binom{m}{k}_q}{\binom{n}{k}_q}=\frac{\binom{n-k}{m-k}_q}{\binom{n}{m}_q} $$

Recall that we are dealing wit fractions from $\mathbb{Z}[q]$, a UFD. Therefore we conclude that the denominator of the reduction to lowest term of the first fraction divides $\binom{n}{m}_q$ as before. In the particular case $k=1$ we get

$$\frac{(n)_q}{(m)_q} = \frac{\binom{n-1}{m-1}_q}{\binom{n}{m}_q} $$

so $$\frac{(n)_q}{\gcd((m)_q, (n)_q))} ( = \frac{(n)_q}{(m,n)_q}) \mid \binom{n}{m}_q$$

orangeskid
  • 57,669
  • Re: edit: yes we can apply OP idea to other common binomial coef formulas, when put in form $MA = NB$, viz. $,Q = \frac{A}N$ has denoms $M,N,$ so also has denom $(M,N).,$ OP uses formula #1 in Wiki, you use #4

    $$\begin{align} M\ \cdot \ A\ \ \ & = \ \ \ N\ \cdot\ \ B\[.4em] m,\ \ {n\choose m}&:!\ =, \ n\ \ \ {n-1\choose m-1}\ \ \ \ \rm [Wiki \ #1]\[.4em] {m\choose k}{n\choose m}&= {n\choose k}{n-k\choose m-k}\ \ \ \ \rm [Wiki\ #4] \end{align}\qquad$$

    – Bill Dubuque Aug 30 '25 at 02:58
  • 1
    +1 Re: edit$^2$, yes$^2,,$ a $:!q$-analog of $:!MA = NB:!$ of same form still works. Notice that reducing $:!Q:!$ then using $:!\ell(Q)$ = least_denom$(Q):!$ divides every denom for $Q:!$ is equivalent to using denoms are closed under gcd (as used in this answer), by $\tag*{}$ $\dfrac{M}{\color{#c00}N}=\dfrac{B}{\color{#0a0}A}\ \ {\rm so}\ \ \underbrace{\dfrac{\color{#c00}N}{(M,N)}}_{\large \ell:!(M/N)}{{\Large\mid}, \color{#0a0}A}\iff$ $(M,N)\dfrac{A}N\in\Bbb Z\iff$ $(M,N),\ {\rm denom\ of}:!\ \dfrac{A}N=\dfrac{B}M\ \ $ – Bill Dubuque Aug 30 '25 at 22:23
  • Re: combinatorial proofs. Likely by now we have most well-known combinatorial proofs of binomial coef. identities, so it would be helpful to link to them if one is tweaking one of them, e.g. for above see here and here for a start. $\ \ $ – Bill Dubuque Aug 31 '25 at 01:39