https://www.johndcook.com/blog/2024/08/03/polylog/ John D. Cook Skip to content * MATH + PROBABILITY + SIGNAL PROCESSING + NUMERICAL COMPUTING + SEE ALL ... * STATS + EXPERT TESTIMONY + WEB ANALYTICS + FORECASTING + RNG TESTING + SEE ALL ... * PRIVACY + HIPAA + SAFE HARBOR + CRYPTOGRAPHY + DIFFERENTIAL PRIVACY + PRIVACY FAQ * WRITING + BLOG + RSS FEED + TWITTER + SUBSTACK + ARTICLES + TECH NOTES * ABOUT + CLIENTS + ENDORSEMENTS + TEAM + SERVICES (832) 422-8646 Contact Evaluating a class of infinite sums in closed form Posted on 3 August 2024 by John The other day I ran across the surprising identity \sum_{n=1}^\infty \frac{n^3}{2^n} = 26 and wondered how many sums of this form can be evaluated in closed form like this. Quite a few it turns out. Sums of the form \sum_{n=1}^\infty \frac{n^k}{c^n} evaluate to a rational number when k is a non-negative integer and c is a rational number with |c| > 1. Furthermore, there is an algorithm for finding the value of the sum. The sums can be evaluated using the polylogarithm function Li[s](z) defined as \text{Li}_s(z) = \sum_{n=1}^\infty \frac{z^n}{n^s} using the identity \sum_{n=1}^\infty \frac{n^k}{c^n} = \text{Li}{-k}\left(\frac{1}{c}\ right) We then need to have a way to evaluate Li[s](z). This cannot be done in closed form in general, but it can be done when s is a negative integer as above. To evaluate Li[-k](z) we need to know two things. First, Li_1(z) = -\log(1-z) and second, \text{Li}_{s-1}(z) = z \frac{d}{dz} \text{Li}_s(z) Now Li[0](z) is a rational function of z, namely z/(1 - z). The derivative of a rational function is a rational function, and multiplying a rational function of z by z produces another rational function, so Li[s](z) is a rational function of z whenever s is a non-positive integer. Assuming the results cited above, we can prove the identity \sum_{n=1}^\infty \frac{n^3}{2^n} = 26 stated at the top of the post.The sum equals Li[-3](1/2), and \text{Li}_{-3}(z) = \left(z \frac{d}{dz}\right)^3 \frac{z}{1-z} = \ frac{z(1 + 4z + z^2)}{(1-z)^4} The result comes from plugging in z= 1/2 and getting out 26. When k and c are positive integers, the sum \sum_{n=1}^\infty \frac{n^k}{c^n} is not necessarily an integer, as it is when k = 3 and c = 2, but it is always rational. It looks like the sum is an integer if c= 2; I verified that the sum is an integer for c = 2 and k = 1 through 10 using the PolyLog function in Mathematica. Update: Here is a proof that the sum is an integer when n = 2. From a comment by Theophylline on Substack. The sum is occasionally an integer for larger values of c. For example, \sum_{n=1}^\infty \frac{n^4}{3^n} = 15 and \sum_{n=1}^\infty \frac{n^8}{3^n} = 17295 Related posts * Dirichlet series generating functions * Computing z(3) * Applied complex analysis Categories : Math Tags : Special functions Bookmark the permalink Post navigation Previous PostSphere spilling out One thought on "Evaluating a class of infinite sums in closed form" 1. Bob Lyons 3 August 2024 at 12:10 I searched for "15 17295" in the OEIS and found this sequence: https://oeis.org/A354062 Leave a Reply Your email address will not be published. Required fields are marked * [ ] [ ] [ ] [ ] [ ] [ ] [ ] Comment * [ ] Name * [ ] Email * [ ] Website [ ] [Post Comment] [ ] [ ] [ ] [ ] [ ] [ ] [ ] D[ ] Search for: [ ] [Search] John D. Cook John D. Cook, PhD My colleagues and I have decades of consulting experience helping companies solve complex problems involving data privacy, applied math , and statistics. Let's talk. We look forward to exploring the opportunity to help your company too. John D. Cook (c) All rights reserved. Search for: [ ] [Search] (832) 422-8646 EMAIL