素性测试mathematica VS hugecalc
本帖最后由 nyy 于 2022-8-30 15:15 编辑待测试整数 10^5019 + 43157099231631693
5020位大整数
mathematica 11.2时间
{3.22922, True}
hugecalc 8.0.0.0时间
38.133398秒
3.22922/38.133398=0.0846821990529
38.133398/3.22922=11.8088572473倍
只测试不评价! (32*10^6959-23)/99
6959 decimal digits
mathematica11.2
{7.47245, True}
hugecalc 8.0.0.0
31.169091
31.169091/7.4724479=4.1712 nyy 发表于 2022-8-30 15:18
(32*10^6959-23)/99
6959 decimal digits
Timing]
{427.864, True}
34987 decimal digits
PFGW Version 4.0.3.64BIT.20220704.Win_Dev
Resuming input file input2 at line 2
Primality testing 2^116224-15905
Running N-1 test using base 7
Running N+1 test using discriminant 31, base 1+sqrt(31)
2^116224-15905 is Fermat and Lucas PRP! (26.5976s+0.0008s)
Done.
427.864/26.5976=16.0865642013倍,
这个软件的判定素数的速度,居然是mathematica的16倍!!!!!!!!!!!!!!!!!!!!!!!!!!!
Timing]
{18.1897, True}
F15之后的第一个素数!
页:
[1]