Abstract
Egorychev method is a potent technique for reducing combinatorial sums. In spite of the effectiveness of the method, it is not well known or widely disseminated. Our purpose in writing this manuscript is to bring light to this method. At the heart of this method is the representation of functions as series. The chief idea in Egorychev method is to reduce a combinatorial sum by recognizing some factors in it as coefficients in a series (possibly in the form of contour integrals), then identifying the parts that can be summed in closed form. Once the summation is gone, the rest can be evaluated via one of several techniques, which are namely: (I) Direct extraction of coefficients, after an inspection telling us it is the generating function (formal power series) of a known sequence, (II) Applying residue operators, and (III) Appealing to Cauchy’s residue theorem, when the coefficients alluded to appear as contour integrals. We present some background from the theory of complex variables and illustrate each technique with some examples. In concluding remarks, we compare Egorychev method to alternative methods, such as Wilf–Zeilberger theory, Zeilberger algorithm, and Almkvist–Zeilberger algorithm and to the performance of computer algebra systems.
Similar content being viewed by others
Data Availability
Not applicable: the manuscript contains no data.
Notes
The expression formal power series stands for a series of powers without regard to the possibility of convergence.
A point for which one turn on any closed path around it does not bring the function back to the same value. For instance, 0 is a branch point of \(\ln z\).
Associated with a branch point of a complex function is a branch cut, a curve across which the function is discontinuous. For instance, the interval \([1/4,\infty )\) is a branch cut for \(\frac{1}{2z} (1-\sqrt{1-4z}\,)\) (the generating function of the Catalan numbers). Note that a branch cut is not unique.
A point at which the function is not defined but is abounded for some neighborhood of it. For instance, 0 is a removable singularity of \(\frac{\sin z}{z}\).
In [13], the radii for the two contours are chosen by a different method. That method determines the tightest possible lower bound on \(|z_0(w)|\).
In the derivative, we use Knuth’s notation
$$\begin{aligned} z^{\underline{r}}= & {} z (z-1) \ldots (z-r+1),\\ z^{\overline{r}}= & {} z (z+1) \ldots (z+r-1); \end{aligned}$$see [10].
The hypergeometric function on m numerator factors and n denominator factors is
$$\begin{aligned} {}_m F_n (a_1, a_2, \ldots , a_m, b_1, b_2, \ldots b_n; z) = \sum _{k=0}^\infty \frac{(a_1)_k (a_2)_k \ldots (a_m)_k}{(b_1)_k (b_2)_k \ldots (b_n)_k} \times \frac{z^k}{k!}. \end{aligned}$$Some sources use the notation \(\big [\begin{array}{c} a_1, \ldots , a_m \\ b_1, \ldots , b_n \end{array} \, \big | \, z \big ]\) for \({}_m F_n (a_1, a_2, \ldots , a_m, b_1, b_2, \ldots b_n; z)\); see [10], for example.
Each of these identities has a range of validity, which we leave for the reader to verify.
References
Abramowitz, M., Stegun, I.: Handbook of Mathematical Functions with Formaulas, Graphs and Mathematical Tables, 10th printing, National Bureau of Standards, Gaithersburg (1972)
Almkvist, G., Zeilberger, D.: The method of differentiating under the integral sign. J. Symb. Comput. 10, 571–591 (1990)
Apagodu, M., Zeilberger, D.: Multi-variable Zeilberger and Almkvist–Zeilberger algorithms and the sharpening of Wilf–Zeilberger theory. Adv. Appl. Math. 37, 139–152 (2006)
Cartan, H.: Elementary Theory of Analytic Functions of One or Several Complex Variables. Courier Corporation, North Chelmsford (1995)
Egorychev, G.: Integral Representation and the Computation of Combinatorial Sums. American Mathematical Society, Providence (1984)
Egorychev, G.: Method of coefficients: an algebraic characterization and recent applications. In: Kotsireas, I., Zima, E. (eds.) Advances in Combinatorial Mathematics. Springer, Berlin (2009)
Fürst, C.: Combinatorial Sums: Egorychev’s Method of Coefficients and Riordan Arrays. Masters thesis, Research Institute for Symbolic Computation Johannes Kepler University, Linz (2001)
Gould, W.: Combinatorial Identities. Published by the author (1972)
Gould, H.: Combinatorial Identities for Stirling Numbers. World Scientific Publishing, Singapore (2016)
Graham, R., Knuth, D., Patashnik, O.: Concrete Mathematics: A Foundation for Computer Science, Professional, 2nd edn. Addison-Wesley, Reading (1989)
Petkovsek, M., Wilf, H., Zeilberger, D.: \(A=B\). A. K. Peters/CRC Press, Natick (2019)
Riedel, M.: Egorychev Method. Wikipedia entry (2022)
Riedel, M.: Egorychev Method and the Evaluation of Combinatorial Sums. Internet source, published by the author (2022)
Zeilberger, D.: The method of creative telescoping. J. Symb. Comput. 11, 195–204 (1991)
Acknowledgements
The authors are indebted to http://math.stackexchange.com, Adriana Lalegname, Felix Marin and Markus Scheuer.
Funding
Not applicable: This research is not funded.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflict of interest.
Additional information
This article is dedicated to Georgy Egorychev.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
We list here a few hypergeometric sums that are amenable to Egorychev method but for some reason or another the standard symbolic algebra systems could not reduce:Footnote 8
A008279 (permutations of n things k at a time)
A142150 (nonnegative integers interleaved with zeros)
A011973 (irregular triangle of numbers read by rows)
A144484 (a triangular array read by rows)
A001700 (number of monotone maps)
A141662 (a triangular array read by rows)
A155865 (Leibniz Harmonic triangle)
A243594 (coefficients in \((x+n)^n)\)
A007318 (Pascal’s triangle by rows)
These identities were found by a computer search that pointed to entries in the Online Encyclopedia of Integer Sequences.
While a smooth reduction via Egorychev method is possible in each of these cases, computer algebra systems exhibit anomalous behavior. For instance, in several cases Maple© produces pages of expressions involving gamma functions or hypergeometric functions, or just goes into an infinite loop. In particular, for the identities in the entries A008279 and A243594, both Maple© and Mathematica© return the sums unevaluated, whereas a reduction via Egorychev method goes through without a hitch. In some cases Mathematica© gives something similar or even a wrong answer.
As a specific example, for the last identity (A007318) in the list above, Maple © delivers the hypergeometric answer
On the other hand, we can establish the following proof via Egorychev method.
The equality derived is valid for \(n \ge m \ge 0\), and \(p \le n-m\). We start with the usual preparation, representing binomial factors as coefficients in an expansion, using the variety of techniques in the main body of the paper, such as index shifting, switching the upper index of a binomial coefficient and extending the range of sums to infinity. We write
The contribution from v is
The residue at infinity is 0, and we can evaluate the residue at \(v=0\) as the negative of the residue at \(v=-(1+u)/u\), which we can compute by Leibniz rule:
Now we have
With \(n \ge m\), the leftmost binomial coefficient vanishes for all \(q\ge 1\); only \(q=0\) makes a contribution. We find
The choice \(p \le n- m\) is convenient to prevent the upper index of the leftmost binomial coefficient from going negative, producing a nonzero value. We can relax this condition to construct identities for values of p advancing a few steps beyond \(n-m\). A few extra terms will appear upon writing out the expansion of (9).
For example, with \(p=n-m+1 \), all the binomial coefficients \({n-m-q \atopwithdelims ()n-m}\) have a positive upper index smaller than the lower index making that binomial coefficient 0, except the two terms \(q=0\) and \(q=n-m+1\). In the case \(q=0\), we have \({n-m-q \atopwithdelims ()n-m} = {n-m \atopwithdelims ()n-m}\), and in the case in the case \(q=n-m+1\),we have \({n-m-q \atopwithdelims ()n-m} = {-1 \atopwithdelims ()n-m} = (-1)^{n-m} {n-m \atopwithdelims ()n-m} \). We arrive at the reduction
This is identity can be found in the Online Encyclopedia of Integer Sequences as entry A007318 (Pascal’s triangle). It appears that this identity is a challenge for both Maple© Mathematica©, they both produce a hypergeometric function as an answer.
Note that more identities can be discovered this way. For instance, if we set \(p=n-m+2\), three terms remain in (9), corresponding to \(q=0\), \(q=n-m+1\), and \(q=n-m+2\). The latter two correspond to binomial coefficients with upper indices \(-2\) and \(-1\), respectively. So, \(S_{n,m,n-m+2}\) is reduced to three binomial coefficients.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Riedel, M., Mahmoud, H. Egorychev Method: A Hidden Treasure. La Matematica 2, 893–933 (2023). https://doi.org/10.1007/s44007-023-00065-y
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s44007-023-00065-y
Keywords
- Egorychev method
- Combinatorial identity
- Formal power series
- Functions of complex variables
- Contour integration
- Residues