Friday, 4 November 2016

Faster Convergence for the Smaller Values of the Riemann Zeta Function

I have a C++ program that uses the equation



ζ(s)=n=11ns



to calculate the Riemann zeta function.



This equation converges fast for larger values, like 183, but converges much slower for smaller values, like 2. For example, calculating the value of ζ(2) took an hour to be accurate to 5 digits, but one second for ζ(183) to be accurate to 100 digits.




Are there any equations for calculating the Riemann zeta function that are faster for calculating smaller values?



Because I am coding in C++, I cannot use (without implementing external libraries, which is not really an option here).

No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...