Puzzled about the output of my demo of a proof of The Euler Series

Richard D. Moores rdmoores at gmail.com
Thu Aug 11 01:57:34 CEST 2011

I saw an interesting proof of the limit of The Euler Series on
math.stackexchange.com at
Scroll down to Hans Lundmark's post.

I thought I'd try to see this "pinching down" on the limit of pi**2/6.
See my attempt, and output for n = 150 at
<http://pastebin.com/pvznFWsT>. What puzzles me is that
upper_bound_partial_sum (lines 39 and 60) is always smaller than the
limit. It should be greater than the limit, right? If not, no pinching
between upper_bound_partial_sum and lower_bound_partial_sum.

I've checked and double-checked the computation, but can't figure out
what's wrong.


Dick Moores

More information about the Python-list mailing list