CoCalc Shared Filescode / william-scratch.sagewsOpen in CoCalc with one click!
Authors: JB Nam, William A. Stein, Nicholas Triantafillou
%attach compute_lambda.sage
### reloading attached file compute_lambda.sage modified at 20:37:20 ###
%time t11_3 = compute_dist(EllipticCurve('11a'), 3, 100000)
2 1 There are 4784 primes to use up to 100000 Starting... X X X X X X X X X X CPU time: 315.26 s, Wall time: 315.35 s
report(t11_3)
kurtosis: 6.16613315338 mean: 0.0109243926154 sd: 1.77191156311
plot_histogram(t)
running_average(data)
%time t = compute_dist(EllipticCurve('11a'), 2017, 1000000)
### reloading attached file compute_lambda.sage modified at 20:43:16 ### 2 1 There are 39 primes to use up to 1000000 Starting... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPU time: 37.03 s, Wall time: 37.03 s
len(t)
39312
plot_histogram(t,100)
report(t)
### reloading attached file compute_lambda.sage modified at 20:46:50 ### kurtosis: 3.02809721405 mean: 3.31802143265e-05 sd: 0.0982882394773
%time t = compute_dist(EllipticCurve('389a'), 3, 100000)
2 0 There are 4784 primes to use up to 100000 Starting... X X X X X X X X X X CPU time: 323.64 s, Wall time: 323.66 s
report(t)
kurtosis: 12.1827917586 mean: -0.000312394463879 sd: 0.158550697252
plot_histogram(t)