two ways to compute Riemanns prime counting function
Version 1.0.0 (2,01 KB) von
Thomas
one version which works (J2) and one which does not work (J1).
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.
Zitieren als
Thomas (2026). two ways to compute Riemanns prime counting function (https://de.mathworks.com/matlabcentral/fileexchange/89564-two-ways-to-compute-riemanns-prime-counting-function), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0 |
