English

Integral and arithmetic structures of alternating (zigzag) numbers $A_n$

Combinatorics 2026-02-18 v1

Abstract

The alternating (zigzag) numbers AnA_n, counting the ascending alternating permutations of {1,,n}\left\{1,\cdots,n\right\} and defined by the exponential generating function tanx+secx\tan x+\sec x, admit several classical combinatorial and analytic representations. In this work we unify and extend three complementary structures of AnA_n. First, starting from the Stirling number expansion of zigzag numbers, we derive a contour integral representation, as well as a positive Laplace-type integral representation An=2n0eyfn(y)dy,fn(y):=k=0n(1)kS(n,k)(y2)k, A_n = 2^n \int_0^\infty e^{-y} f_n(y)\, dy, \qquad f_n(y) := \sum_{k=0}^{n} (-1)^k S(n,k) \left(\frac{y}{2}\right)^k, where the kernel fn(y)f_n(y) is the polynomial generating function of Stirling numbers. A continuous interpolation of the discrete product (falling factorial) is introduced subsequently. This provides a direct analytic bridge between set partitions and Laplace asymptotics. Second, using the partial fraction expansion of tan\tan, we obtain the well-known hyperbolic integral representation A2n+1=1π0y2n+1sinh(y/2)dy, A_{2n+1}=\frac{1}{\pi}\int_0^\infty\frac{y^{2n+1}}{\sinh(y/2)}\,dy, equivalently expressed in classical cosh\cosh form for A2nA_{2n}. This representation interprets zigzag numbers as spectral moments associated with half-integer poles. The connection with Fourier analysis and Mellin transforms is also outlined. Finally, combining spectral expansions with Stirling identities, we derive congruence relations modulo primes for AnA_n. These results exhibit a dual analytic-combinatorial structure of zigzag numbers, linking partition expansions, trigonometric spectra, and arithmetic properties.

Keywords

Cite

@article{arxiv.2602.15622,
  title  = {Integral and arithmetic structures of alternating (zigzag) numbers $A_n$},
  author = {Jean-Christophe Pain},
  journal= {arXiv preprint arXiv:2602.15622},
  year   = {2026}
}
R2 v1 2026-07-01T10:39:58.996Z