42
$\begingroup$

Let $n$ be a positive integer with binary expansion $2^{a_1}+\cdots + 2^{a_s}$. For $S\subseteq [s]=\{1,2,\dots,s\}$, let $k_S= \sum_{i\in S} 2^{a_i}$. Thus by a fundamental result of Lucas, ${n\choose k}$ is odd if and only if $k=k_S$ for some $S\subseteq [s]$.

Conjecture. Let $T\subseteq [s]$. Then $$ \sum_{S\subseteq [s]} (-1)^{|S\cap T|}{n\choose k_S} $$ is divisible by $2^s$.

I originally learned of the case $T=\emptyset$ from Nikolai Beluhov, who has a proof in a much more general context, recently posted on the arxiv. I then came up with the above conjecture, after which Bjorn Poonen pointed out that the conjecture for $T=\emptyset$ and $T=\{0\}$ (when $0\in S$) follows easily from Lemma 12 of N. Calkin, Factors of sums of powers of binomial coefficients, Acta Arith. 86 (1998), 17--26.

The conjecture can be reformulated more algebraically. Let $G_n$ be the group of all integers $k\geq 0$ for which ${n\choose k}$ is odd, under the operation $\oplus$ of Nim sum, i.e., mod 2 addition of the coordinates of the binary expansion. For instance, $12\oplus 5=9$. Thus $G_n$ is isomorphic to $(\mathbb{Z}/2\mathbb{Z})^s$. Define $f\colon G_n\to\mathbb{Z}$ by $f(k)={n\choose k}$. Then the conjecture is equivalent to the statement that $f$ is a virtual character of $G_n$.

Addendum. Donald Knuth asked me whether my conjecture (now a theorem) has a nice $q$-analogue. What seems to work best is to replace ${n\choose k_S}$ by $q^{k_S(k_S+1)/2}\boldsymbol{{n\choose k_S}_q}$, where $\boldsymbol{{n\choose k_S}_q}$ is a $q$-binomial coefficient. When $T=\emptyset$, it looks like the sum in the conjecture is a polynomial with nonnegative integer coefficients (this much is obvious) which is divisible by at least $s$ factors of the form $q^i+1$. For arbitrary $T$ this is no longer the case, e.g., $n=11$ (so $S=\{0,1,3\}$) and $T=\{1,2\}$. Is there a better $q$-analogue?

This follow up question about a possible $q$-analagoue has now been asked at A $q$-analogue of a conjecture (now proved) on odd binomial coefficients.

$\endgroup$
7
  • 5
    $\begingroup$ When does a family $\left(b_S\right)_{S \subseteq \left[s\right]}$ of integers satisfy $\sum\limits_{S \subseteq \left[s\right]} \left(-1\right)^{\left|S\cap T\right|} b_S \equiv 0 \mod 2^s$ for all $T \subseteq \left[s\right]$? This is not the first time I'm hearing this condition; it is clearly related to the spectrum of the hypercube Laplacian. (The matrix with entries $\left(-1\right)^{\left|S\cap T\right|}$ diagonalizes this Laplacian.) $\endgroup$ Commented Jun 1 at 17:25
  • 8
    $\begingroup$ For what it worth, this sum is the constant term of the product of $(1\pm x^{-2^{a}})(1+x)^{2^a}$ over $a\in \{a_1, \dots, a_s\}$, the sign depends on whether $a=a_i,i\in T$. $\endgroup$ Commented Jun 1 at 17:30
  • 4
    $\begingroup$ Maybe "Luca's Theorem for Prime Powers" by Davis and Webb could help. $\endgroup$ Commented Jun 2 at 7:54
  • 6
    $\begingroup$ Perhaps the question about $q$-analogues should be posted as a new question? $\endgroup$ Commented Jun 6 at 1:09
  • 3
    $\begingroup$ @GerryMyerson: I have done this. $\endgroup$ Commented Jun 6 at 16:39

1 Answer 1

31
$\begingroup$

This is true.

As usual, the notation $\nu_2(x)=m$ for a non-zero integer $x$ and a non-negative integer $m$ means that $x=2^m r$ for an odd $r$. $[x^a]f(x)$ denotes the coefficient of $x^a$ in a polynomial or Laurent polynomial $f(x)$. We assume, without loss of generality, that $a_1<\dots<a_s$.

We use the following

Lemma. Let $a_1<\dots<a_k$ be non-negative integers, and $t_1,\dots,t_k$ be non-zero integers such that $|t_i|\le 2^{a_i}$. Put $\sigma_i=t_1+\dots+t_i$. Assume that $\sigma_k=0$, but $\sigma_i\ne 0$ for $i<k$. Then $(k-1)+\nu_2(t_1\dots t_k)\leqslant a_1+\dots+a_k$.

Proof. (provided by Fedor Ushakov)

Let $p_i=\nu_2(\sigma_i)$ for $i=1,\ldots,k-1$ and $p_k=a_k$. It suffices to check $$a_i-\nu_2(t_i)\geqslant p_i-p_{i-1}\tag{$\heartsuit$}$$ for all $i=2,\ldots,k$, then sum up $(\heartsuit)$ and the obvious inequality $a_1\geqslant \nu_2(t_1)$ to get $$a_1+\ldots+a_k-\nu_2(t_1\ldots t_k)\geqslant p_k-p_1=a_k-p_1\geqslant a_k-a_1\geqslant k-1.$$ Well, $(\heartsuit)$ is obvious when the RHS is non-positive. If it is positive, then $\nu_2(t_i)=\nu_2(\sigma_i-\sigma_{i-1})=\nu_2(\sigma_{i-1})=p_{i-1}$, and $(\heartsuit)$ reads as $a_i\geqslant p_i$ that holds for $i=k$ by definition and for $i<k$ since $0<|\sigma_i|<2^{a_i+1}$.

Now denote $\varepsilon_i=-1$ for $i\in T$ and $\varepsilon_i=+1$ otherwise. Then your sum equals $$ [x^0](1+x)^n\prod_{i=1}^s (1+\varepsilon_i x^{-2^{a_i}})= [x^0]\prod_{i=1}^s f_i(x)=\sum_{\substack{t_1,\ldots,t_s\\\sum t_i=0}}\prod_{i=1}^s[x^{t_i}]f_i(x),\tag{$\clubsuit$} $$ where $f_i(x)=(1+\varepsilon_i x^{-2^{a_i}})(1+x)^{2^{a_i}}= (1+x)^{2^{a_i}}+\varepsilon_i (1+1/x)^{2^{a_i}}$. We prove that this sum is divisible by $2^s$ using induction on $s$ (the base case $s=0$ is clear).

Note that $[x^0]f_i(x)$ is either 0 or 2. This allows to exclude the terms in the RHS of $(\clubsuit)$ for which some $t_i$ vanish, since this reduces to the induction hypothesis.

Then we have the sum over sequences $(t_1,\ldots,t_s)$ of non-zero integers which sum up to 0 (further simply $s$-sequences) of the expression $\prod_{i=1}^s \delta_i{2^{a_i}\choose |t_i|}$, where $\delta_i=-1$ if simultaneously $\varepsilon_i=-1$ and $t_i<0$, otherwise $\delta_i=1$. For an $s$-sequence $\tau=(t_1,\ldots,t_s)$ we consider the following partition of $\{1,\ldots,s\}$ into intervals: $\Delta_1$ is the shortest initial interval of $\{1,\ldots,s\}$ for which $\sum_{i\in \Delta_1} t_i=0$, $\Delta_2$ is the shortest initial interval of $\{1,\ldots,s\}\setminus \Delta_1$ for which $\sum_{i\in \Delta_2} t_i=0$, etc. Let the last interval be $\Delta_N$. We call two $s$-sequences friends, if one is achieved from the other by changing the signs of all $t_i$ in some interval $\Delta_r$, or by several such operations. Note that $\tau$ has exactly $2^N$ friends, all these friends are mutual friends, and have the same partition. As for the corresponding terms in the RHS of $(\clubsuit)$, they are either all equal, or can be partitioned onto annihilating pairs. Thus, it suffices to prove that $\prod_i {2^{a_i}\choose |t_i|}$ is divisible by $2^{s-N}$. Since ${2^a\choose t}=\frac{2^a}{t}{2^a-1\choose t-1}$ for $t>0$, this follows from the Lemma applied to each of the $N$ intervals.

$\endgroup$
2
  • 1
    $\begingroup$ I’m curious if there’s a reasonable generalization of this observation for binomial coefficients involving Bhargava factorials. $\endgroup$ Commented Jun 19 at 10:45
  • 1
    $\begingroup$ @Brian on the first glance, some specific properties of integers are used like $\sum_{i<n} 2^i <2^n$. $\endgroup$ Commented Jun 19 at 19:47

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.