{"id":"arxiv/2611.01919","url":"https://arxiv.org/abs/2611.01919","tags":["math.CO"],"score":0,"title":"Alternating Sums in Compositions","domain":"math.CO","source":"arxiv","authors":["Runde Gao","Jia Huang"],"reviews":0,"subject":"math.CO","summary":"Motivated by the recent asymptotic formula for the moment of the alternating sum of parts in partitions by Craig and Li, we study the moment of the alternating sum of parts in compositions. We establish closed formulas for this moment using techniques involving generating functions, matrix diagonalization, Krawtchouk polynomials, differential equations, and Faà di Bruno's formula. Our result is connected with some known integer sequences in the OEIS and admits a combinatorial interpretation by coin flipping.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-11-01","reactions":{}}