Automated discovery and proof of congruence theorems for partial sums of combinatorial sequences

作者:Chen, William Y. C.; Hou, Qing-Hu; Zeilberger, Doron*
来源:Journal of Difference Equations and Applications, 2016, 22(6): 780-788.
DOI:10.1080/10236198.2016.1142541

摘要

Many combinatorial sequences (e. g. the Catalan and the Motzkin numbers) may be expressed as the constant term of P(x)(k)Q(x), for some Laurent polynomials P(x) and Q(x) in the variable x with integer coefficients. Denoting such a sequence by ak, we obtain a general formula that determines the congruence class, modulo p, of the indefinite sum rp-1 Sigma(rp-1)(k=0) a(k), for any prime p, and any positive integer r, as a linear combination of sequences that satisfy linear recurrence (alias difference) equations with constant coefficients. This enables us (or rather, our computers) to automatically discover and prove congruence theorems for such partial sums. Moreover, we show that in many cases, the set of the residues is finite, regardless of the prime p.