CoCalc Shared Filesquestions / 2017-11-18-avner.sagewsOpen in CoCalc with one click!
Author: William A. Stein
Description: Computations related to questions about "Prime Numbers and the Riemann Hypothesis" by Mazur/Stein
X = 10^24 a = X/(log(X)-1)
round(N(a, digits=100))
18429088896563917716963
b = X/log(X) round(N(b, digits=100))
18095603412635492818797
x = float(X) x/(math.log(x) - 1)
1.8429088896563917e+22
%var X M = 1000 g = plot(prime_pi, 5, M, thickness=2) g += plot(X/(log(X)-1), (X, 5, M), color='red', thickness=2) g += plot(X/log(X), (X, 5, M), color='green', thickness=2) show(g)