English

Density and Symmetry in the Generalized Motzkin Numbers mod $p$

Combinatorics 2025-01-20 v2 Number Theory

Abstract

We give a formula for the density of 00 in the sequence of generalized Motzkin numbers, Mna,bM^{a, b}_n, modulo a prime, pp, in terms of the first pp generalized central trinomial coefficients Tna,bmodpT^{a, b}_n\bmod p (with n<pn<p). We apply our method to various other sequences to obtain similar formulas. We also prove that Tp1na,b(b24a2)p12nTna,b(modp)T^{a, b}_{p-1-n}\equiv (b^2-4a^2)^{\frac{p-1}{2}-n}T^{a, b}_n\pmod p to obtain tight lower bounds for the density of 00 in our sequences. This symmetry of the first pp central trinomial coefficients mod pp also appears in a couple of other applications, including the proof of a novel symmetry of the first p2p-2 Motzkin numbers that is of independent interest: Mp3na,b(b24a2)p32nMna,b(modp)M^{a, b}_{p-3-n}\equiv (b^2-4a^2)^{\frac{p-3}{2}-n}M^{a, b}_n\pmod p.

Keywords

Cite

@article{arxiv.2411.03681,
  title  = {Density and Symmetry in the Generalized Motzkin Numbers mod $p$},
  author = {Nadav Kohen},
  journal= {arXiv preprint arXiv:2411.03681},
  year   = {2025}
}

Comments

15 pages; grammar corrections, density analysis for 3 new sequences, and attribution for results that already existed added