Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Notes on ChromeOS + CoCalc

Views: 2040
%time 2+3
5 CPU time: 0.00 s, Wall time: 0.00 s
for n in [100, 200, .., 800]: %time print n,len(str(random_matrix(ZZ,n).det()))
100 207 CPU time: 0.04 s, Wall time: 0.04 s 200 459 CPU time: 0.05 s, Wall time: 0.05 s 300 755 CPU time: 0.15 s, Wall time: 0.15 s 400 1054 CPU time: 0.36 s, Wall time: 0.36 s 500 1357 CPU time: 0.86 s, Wall time: 0.86 s 600 1684 CPU time: 1.43 s, Wall time: 1.43 s 700 2020 CPU time: 3.56 s, Wall time: 3.56 s 800 2333 CPU time: 6.49 s, Wall time: 6.49 s
%time D = ModularSymbols(389).decomposition()
CPU time: 4.15 s, Wall time: 4.15 s
%time len(str(factorial(1234567)))
6984221 CPU time: 5.66 s, Wall time: 5.66 s
%time k = factorial(1234567) * factorial(7654321)
CPU time: 10.76 s, Wall time: 10.76 s