two ways to compute Riemanns prime counting function

版本 1.0.0 (2.0 KB) 作者: Thomas
one version which works (J2) and one which does not work (J1).
17.0 次下载
更新时间 2021/3/29

查看许可证

J1 and J2 compute Riemann's prime counting function. J1 does not converge properly in Li_sum. Please let me know, if you understand why this does not work - I could not resolve this.
J2 uses an alternative formula and provides good results.
Example:
run J2(100) to approximate the number of primes <= 200.

引用格式

Thomas (2024). two ways to compute Riemanns prime counting function (https://www.mathworks.com/matlabcentral/fileexchange/89564-two-ways-to-compute-riemanns-prime-counting-function), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

版本 已发布 发行说明
1.0.0