Density and Symmetry in the Generalized Motzkin Numbers mod p
Abstract
We give a formula for the density of 0 in the sequence of generalized Motzkin numbers, Ma, bn, modulo a prime, p, in terms of the first p generalized central trinomial coefficients Ta, bn p (with n<p). We apply our method to various other sequences to obtain similar formulas. We also prove that Ta, bp-1-n (b2-4a2)p-12-nTa, bn p to obtain tight lower bounds for the density of 0 in our sequences. This symmetry of the first p central trinomial coefficients mod p also appears in a couple of other applications, including the proof of a novel symmetry of the first p-2 Motzkin numbers that is of independent interest: Ma, bp-3-n (b2-4a2)p-32-nMa, bn p.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.