Exact eventual signs of alternating composition moments

Alternating moments of the number of parts in bounded ordered compositions have an exact eventual sign pattern. Fix a positive even integer \(m\), put \(A=\{1,\ldots,m\}\), and let \(c_A(i,n)\) count ordered compositions of \(n\) into \(i\) parts from \(A\). For each fixed integer \(k\geq0\), set \[S_{A,k}(n)=\sum_{i\geq0}(-1)^i i^k c_A(i,n),\qquad b(n)=(-1)^nS_{A,k}(n).\] The empty composition occurs only at \(i=n=0\), with weight \(i^0=1\) at \(k=0\). Put \(M=m+1\) and \(s=k+1\). The least eventual period of \(\operatorname{sgn}b(n)\), with \(\operatorname{sgn}0=0\), is \(2M\). For \(k<m-1\), the word starting at residue zero is \[(+^{s+1},0^{M-s-1},-^{s+1},0^{M-s-1}),\] where exponents denote run lengths. For \(k\geq m-1\), the word is \((+^M,-^M)\) starting at residue \(\lfloor(s-M+2)/2\rfloor\) modulo \(2M\). Thus \(m-1\) is the exact threshold for filling both blocks. Writing \(F=(1+x)/(1+x^M)\) and using Stirling numbers of the second kind, the generating function is \[\sum_{n\geq0}b(n)x^n=\sum_{j=0}^k {k\brace j}j!F(F-1)^j.\] For \(n\equiv r\pmod{2M}\) and \(n\geq s\), the values are given by a polynomial \(B_r(n)\) of degree at most \(k\), with \[[X^k]B_r(X)=M^{-k}U_s(r),\quad B_{r+M}(X)=-B_r(X),\qquad U_j(r)=\sum_{\substack{0\leq a\leq j\\ a\equiv r\pmod M}}(-1)^{(r-a)/M}\binom{j}{a}.\] Centering the folded binomial sum gives a nearest-neighbor walk count with absorbing boundaries. At odd \(s\geq M\), the top coefficient vanishes at \(r_*=(s+M)/2\), where the next coefficient is \(ksM^{-k}(M/2-1)U_{s-1}(r_*-1)>0\). The opposite residue has the negative sign. The classification applies to the tail for each fixed pair \((m,k)\). Raw values are unbounded for \(k>0\) and periodic for \(k=0\), the previously established case. Gawron–Ulas, preprint Remark 3.4 and Conjecture 3.5. Fix a positive even integer \(m\), let \(c(i,n)\) count ordered compositions of \(n\) into \(i\) parts from \(\{1,\ldots,m\}\), and set \(b(n)=(-1)^n\sum_{i\geq0}(-1)^ii^kc(i,n)\) for an integer \(k\geq0\), with \(0^0=1\) at \(k=0\). Do the signs eventually repeat with period \(2(m+1)\), forming a positive and a negative block of length \(m+1\) each, up to cyclic shift, when \(k\geq2(m+1)\)? The sign reading holds for every fixed pair \((m,k)\). The stated period is least, and the full blocks occur exactly when \(k\geq m-1\). The literal raw-value periodicity reading fails for every \(k>0\) because the values are unbounded. For \(k=0\) the raw values are periodic, as previously established.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24701861
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact eventual signs of alternating composition moments

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Exact eventual signs of alternating composition moments

Zixuan He
preprint en

Abstract

Alternating moments of the number of parts in bounded ordered compositions have an exact eventual sign pattern. Fix a positive even integer \(m\), put \(A=\{1,\ldots,m\}\), and let \(c_A(i,n)\) count ordered compositions of \(n\) into \(i\) parts from \(A\). For each fixed integer \(k\geq0\), set \[S_{A,k}(n)=\sum_{i\geq0}(-1)^i i^k c_A(i,n),\qquad b(n)=(-1)^nS_{A,k}(n).\] The empty composition occurs only at \(i=n=0\), with weight \(i^0=1\) at \(k=0\). Put \(M=m+1\) and \(s=k+1\). The least eventual period of \(\operatorname{sgn}b(n)\), with \(\operatorname{sgn}0=0\), is \(2M\). For \(k<m-1\), the word starting at residue zero is \[(+^{s+1},0^{M-s-1},-^{s+1},0^{M-s-1}),\] where exponents denote run lengths. For \(k\geq m-1\), the word is \((+^M,-^M)\) starting at residue \(\lfloor(s-M+2)/2\rfloor\) modulo \(2M\). Thus \(m-1\) is the exact threshold for filling both blocks. Writing \(F=(1+x)/(1+x^M)\) and using Stirling numbers of the second kind, the generating function is \[\sum_{n\geq0}b(n)x^n=\sum_{j=0}^k {k\brace j}j!F(F-1)^j.\] For \(n\equiv r\pmod{2M}\) and \(n\geq s\), the values are given by a polynomial \(B_r(n)\) of degree at most \(k\), with \[[X^k]B_r(X)=M^{-k}U_s(r),\quad B_{r+M}(X)=-B_r(X),\qquad U_j(r)=\sum_{\substack{0\leq a\leq j\\ a\equiv r\pmod M}}(-1)^{(r-a)/M}\binom{j}{a}.\] Centering the folded binomial sum gives a nearest-neighbor walk count with absorbing boundaries. At odd \(s\geq M\), the top coefficient vanishes at \(r_*=(s+M)/2\), where the next coefficient is \(ksM^{-k}(M/2-1)U_{s-1}(r_*-1)>0\). The opposite residue has the negative sign. The classification applies to the tail for each fixed pair \((m,k)\). Raw values are unbounded for \(k>0\) and periodic for \(k=0\), the previously established case. Gawron–Ulas, preprint Remark 3.4 and Conjecture 3.5. Fix a positive even integer \(m\), let \(c(i,n)\) count ordered compositions of \(n\) into \(i\) parts from \(\{1,\ldots,m\}\), and set \(b(n)=(-1)^n\sum_{i\geq0}(-1)^ii^kc(i,n)\) for an integer \(k\geq0\), with \(0^0=1\) at \(k=0\). Do the signs eventually repeat with period \(2(m+1)\), forming a positive and a negative block of length \(m+1\) each, up to cyclic shift, when \(k\geq2(m+1)\)? The sign reading holds for every fixed pair \((m,k)\). The stated period is least, and the full blocks occur exactly when \(k\geq m-1\). The literal raw-value periodicity reading fails for every \(k>0\) because the values are unbounded. For \(k=0\) the raw values are periodic, as previously established.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon