The signed A005811 Hankel transform for x+1/r(x2)x+1/r(x^2)

About 5 years old · traced to

Let r(x)r(x) be the generating function of the Rueppel sequence, and let the Hankel transform be the sequence of determinants of successive Hankel matrices. A005811 Hankel-transform conjecture. The Hankel transform of the sequence with generating function x+1/r(x2)x+1/r(x^2) is a signed version of OEIS sequence A005811 evaluated at n+1n+1. The source identifies A005811 as counting the number of runs in the binary expansion, equivalently the number of 11's in the Gray code, and gives numerical evidence but no proof or resolution.

References

Primary source

Paul Barry, “Conjectures and results on some generalized Rueppel sequences”, arXiv:2107.00442 (2021).

Progress summary

Refreshed
Claimed progress

An unverified reader-submitted proof claims to settle the conjecture, but no independent confirmation was found.

The conjecture, posed by Paul Barry in 2021, predicts that the Hankel determinants of the sequence generated by x+1/r(x2)x+1/r(x^2) have absolute values given by the binary-run sequence A005811 at shifted indices. Barry reported numerical evidence but no proof.

Known results

  • Barry (2021) computed initial Hankel values and formulated the conjecture.
  • Allouche, Han, and Shallit (2021) proved a related result for the different generating function 1−xr(x)1-xr(x), not this conjecture.

Community submission (unverified), August 25, 2026

A submitted proof argues the stronger signed identity Tn=(−1)nJn+1ρ(n+1)T_n=(-1)^nJ_{n+1}\rho(n+1), which would imply the conjectured absolute-value formula. It presents reciprocal Hankel transformations and invokes results of Allouche, Han, and Shallit, while claiming an additional determinant transformation for Barry’s conjecture.

Current status (as of August 2026): The conjecture remains unverified; a reader-submitted proof claims complete progress, while no independently confirmed resolution was found.

Sources

Solutions 1

ProofThis solution needs a summarySee full solutionHide full solution

Proof and exact sign formula for the binary-run Hankel conjecture

Let

r(x)=∑j≥0x2j−1,G(x)=x+1r(x2)=∑j≥0gjxj,r(x)=\sum_{j\geq0}x^{2^j-1}, \qquad G(x)=x+\frac1{r(x^2)}=\sum_{j\geq0}g_jx^j,

and define

Tn=det⁡(gi+j)0≤i,j≤n.T_n=\det(g_{i+j})_{0\leq i,j\leq n}.

Write ρ(N)\rho(N) for the number of runs in the ordinary binary expansion of the positive integer NN, and put

JN=det⁡(ri+j+1)0≤i,j<N,J0=1.(1)J_N=\det(r_{i+j+1})_{0\leq i,j<N}, \qquad J_0=1. \tag{1}

We prove the stronger signed identity

Tn=(−1)nJn+1ρ(n+1)(n≥0).(2)\boxed{ T_n=(-1)^nJ_{n+1}\rho(n+1) \qquad(n\geq0). } \tag{2}

Since JN∈{−1,1}J_N\in\{-1,1\}, this gives

∣Tn∣=ρ(n+1)=A005811⁡(n+1),(3)|T_n|=\rho(n+1)=\operatorname{A005811}(n+1), \tag{3}

which proves Conjecture 13 of Paul Barry, Conjectures and results on some generalized Rueppel sequences.

The proof uses the established determinant and sign theorems of J.-P. Allouche, G.-N. Han, and J. Shallit, On some conjectures of P. Barry, Journal of Number Theory 228 (2021), 108--132, Lemma 20 and Theorem 22 for the different series 1−xr(x)1-xr(x); their preprint is also available. Their earlier results concern conjectures from Barry's 2020 paper. The key additional step here is an exact determinant transformation connecting their series to the distinct Conjecture 13 in Barry's later 2021 paper.

Two reciprocal Hankel transformations

Let

Q(x)=1r(x)=∑j≥0qjxj.Q(x)=\frac1{r(x)}=\sum_{j\geq0}q_jx^j.

Because

r(x)=1+xr(x2),(4)r(x)=1+xr(x^2), \tag{4}

we have

G(x)=x+xr(x)−1=xr(x)r(x)−1.(5)G(x)=x+\frac{x}{r(x)-1} =\frac{xr(x)}{r(x)-1}. \tag{5}

Consequently,

1G(x)=1−Q(x)x.(6)\frac1{G(x)}=\frac{1-Q(x)}x. \tag{6}

Since q0=1q_0=1, q1=−1q_1=-1, and q2=1q_2=1, this becomes

1G(x)=1−x−x2V(x),V(x)=∑j≥0qj+3xj.(7)\frac1{G(x)}=1-x-x^2V(x), \qquad V(x)=\sum_{j\geq0}q_{j+3}x^j. \tag{7}

The standard reciprocal Hankel identity states that, whenever

P(x)=11+cx−x2W(x),P(x)=\frac1{1+cx-x^2W(x)},

one has

det⁡([xi+j]P(x))0≤i,j<N=det⁡([xi+j]W(x))0≤i,j<N−1.(8)\det([x^{i+j}]P(x))_{0\leq i,j<N} =\det([x^{i+j}]W(x))_{0\leq i,j<N-1}. \tag{8}

This follows immediately from the reciprocal-series determinant identity

det⁡(bi+j+2)0≤i,j<t=(−1)tdet⁡(ai+j)0≤i,j≤t,(9)\det(b_{i+j+2})_{0\leq i,j<t} =(-1)^t\det(a_{i+j})_{0\leq i,j\leq t}, \tag{9}

where ∑ajxj\sum a_jx^j and ∑bjxj\sum b_jx^j are reciprocal series with constant coefficient 11.

Taking P=GP=G and W=VW=V therefore gives

det⁡(gi+j)0≤i,j<N=det⁡(qi+j+3)0≤i,j<N−1.(10)\det(g_{i+j})_{0\leq i,j<N} =\det(q_{i+j+3})_{0\leq i,j<N-1}. \tag{10}

We also need the following universal complementary-minor identity:

det⁡(qi+j+3)0≤i,j<t=(−1)t+1det⁡(ri+j−1)0≤i,j<t+2,r−1=0.(11)\det(q_{i+j+3})_{0\leq i,j<t} =(-1)^{t+1} \det(r_{i+j-1})_{0\leq i,j<t+2}, \qquad r_{-1}=0. \tag{11}

For completeness, set

hj=rj,ej=(−1)jqj,hj=ej=0(j<0).h_j=r_j, \qquad e_j=(-1)^jq_j, \qquad h_j=e_j=0\quad(j<0).

The reciprocal relation r(x)Q(x)=1r(x)Q(x)=1 is precisely

(∑j≥0hjxj)(∑j≥0ej(−x)j)=1.(12)\left(\sum_{j\geq0}h_jx^j\right) \left(\sum_{j\geq0}e_j(-x)^j\right)=1. \tag{12}

Applying the dual Jacobi--Trudi identity to the rectangular partition (t t+2)(t^{\,t+2}) gives

det⁡(et+2−i+j)0≤i,j<t=det⁡(ht−i+j)0≤i,j<t+2.(13)\det(e_{t+2-i+j})_{0\leq i,j<t} =\det(h_{t-i+j})_{0\leq i,j<t+2}. \tag{13}

Reversing the rows on both sides and substituting qj=(−1)jejq_j=(-1)^je_j yields exactly (11).

Define

SM=det⁡(ri+j−1)0≤i,j<M=det⁡([xi+j] xr(x))0≤i,j<M.(14)S_M=\det(r_{i+j-1})_{0\leq i,j<M} =\det([x^{i+j}]\,xr(x))_{0\leq i,j<M}. \tag{14}

Combining (10) and (11), with t=N−1t=N-1, gives the new exact bridge

det⁡(gi+j)0≤i,j<N=(−1)NSN+1.(15)\boxed{ \det(g_{i+j})_{0\leq i,j<N}=(-1)^NS_{N+1}. } \tag{15}

Reduction to the proved Rueppel determinant theorem

Let

B(x)=1−xr(x),DM=det⁡([xi+j]B(x))0≤i,j<M.(16)B(x)=1-xr(x), \qquad D_M=\det([x^{i+j}]B(x))_{0\leq i,j<M}. \tag{16}

The Hankel matrix of BB differs from the negative Hankel matrix of xrxr only in its upper-left entry. Expanding in that entry gives

DM=(−1)MSM+(−1)M−1JM−1.(17)D_M=(-1)^MS_M+(-1)^{M-1}J_{M-1}. \tag{17}

Allouche, Han, and Shallit prove in their Lemma 20 that

sgn⁡(DM)=(−1)M−1JM−1(M≥1).(18)\operatorname{sgn}(D_M)=(-1)^{M-1}J_{M-1} \qquad(M\geq1). \tag{18}

Their Theorem 22, together with their identification of the auxiliary sequence in Theorem 2, gives

∣DM∣=1+ρ(M−1)(M≥1),(19)|D_M|=1+\rho(M-1) \qquad(M\geq1), \tag{19}

where ρ(0)=0\rho(0)=0.

Substituting (18)--(19) into (17), we obtain

(−1)M−1JM−1(1+ρ(M−1))=(−1)MSM+(−1)M−1JM−1,SM=−JM−1ρ(M−1).(20)\begin{aligned} (-1)^{M-1}J_{M-1}\bigl(1+\rho(M-1)\bigr) &=(-1)^MS_M+(-1)^{M-1}J_{M-1},\\ S_M&=-J_{M-1}\rho(M-1). \end{aligned} \tag{20}

Taking M=N+1M=N+1 in (15) now yields

det⁡(gi+j)0≤i,j<N=(−1)N+1JNρ(N).(21)\det(g_{i+j})_{0\leq i,j<N} =(-1)^{N+1}J_N\rho(N). \tag{21}

With N=n+1N=n+1, this is precisely the signed formula (2).

The sign is explicit at every index

The Rueppel coefficients satisfy

r2j={1,j=0,0,j≥1,r2j+1=rj.(22)r_{2j}=\begin{cases}1,&j=0,\\0,&j\geq1, \end{cases} \qquad r_{2j+1}=r_j. \tag{22}

The ordinary Rueppel Hankel determinant has the classical evaluation

Rt=det⁡(ri+j)0≤i,j<t=(−1)(t2).(23)R_t=\det(r_{i+j})_{0\leq i,j<t} =(-1)^{\binom t2}. \tag{23}

Separating even and odd indices in the matrix defining JNJ_N gives

J0=1,J2t=RtJt,J2t+1=Rt+1Jt.(24)\begin{aligned} J_0&=1,\\ J_{2t}&=R_tJ_t,\\ J_{2t+1}&=R_{t+1}J_t. \end{aligned} \tag{24}

In particular, JN∈{−1,1}J_N\in\{-1,1\} for every NN, and (24) computes the exact sign in (2) directly from the binary expansion of n+1n+1. Thus the first values are

(Tn)n≥0=1,−2,−1,2,−3,−2,−1,2,−3,4,3,2,−3,…,(T_n)_{n\geq0} =1,-2,-1,2,-3,-2,-1,2,-3,4,3,2,-3,\ldots,

and their absolute values are exactly the binary-run sequence predicted in Conjecture 13.