- 注册时间
- 2017-12-7
- 最后登录
- 1970-1-1
- 威望
- 星
- 金币
- 枚
- 贡献
- 分
- 经验
- 点
- 鲜花
- 朵
- 魅力
- 点
- 上传
- 次
- 下载
- 次
- 积分
- 3243
- 在线时间
- 小时
|
发表于 2020-8-18 15:31:40
|
显示全部楼层
- factorint(10^200+3)
- IFAC: cracking composite
- 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003
- IFAC: checking for pure square
- IFAC: trying Pollard-Brent rho method
- Rho: searching small factor of 665-bit integer
- Rho: using X^2-1 for up to 49152 rounds of 32 iterations
- Rho: time = 932 ms, 24576 rounds
- Rho: fast forward phase (8192 rounds of 64)...
- Rho: time = 413 ms, 32772 rounds, back to normal mode
- Rho: time = 244 ms, 40960 rounds
- Rho: time = 266 ms, Pollard-Brent giving up.
- IFAC: trying Shanks' SQUFOF, will fail silently if input
- is too large for it.
- IFAC: trying Lenstra-Montgomery ECM
- ECM: working on 64 curves at a time; initializing for up to 220 rounds...
- ECM: time = 0 ms
- ECM: B1 = 1800, B2 = 198000, gss = 128*420
- ECM: time = 861 ms, B1 phase done, p = 1801, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 2017
- ECM: time = 545 ms
- ECM: B1 = 2200, B2 = 242000, gss = 128*420
- ECM: time = 985 ms, B1 phase done, p = 2203, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 2413
- ECM: time = 632 ms
- ECM: B1 = 2700, B2 = 297000, gss = 256*420
- ECM: time = 1249 ms, B1 phase done, p = 2707, setting up for B2
- ECM: time = 17 ms, entering B2 phase, p = 2917
- ECM: time = 772 ms
- ECM: B1 = 3250, B2 = 357500, gss = 256*420
- ECM: time = 1422 ms, B1 phase done, p = 3251, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 3461
- ECM: time = 904 ms
- ECM: B1 = 4000, B2 = 440000, gss = 256*420
- ECM: time = 1664 ms, B1 phase done, p = 4001, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 4211
- ECM: time = 1076 ms
- ECM: B1 = 4850, B2 = 533500, gss = 256*420
- ECM: time = 2053 ms, B1 phase done, p = 4861, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 5077
- ECM: time = 1303 ms
- ECM: B1 = 5800, B2 = 638000, gss = 256*420
- ECM: time = 2475 ms, B1 phase done, p = 5801, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 6011
- ECM: time = 1443 ms
- ECM: B1 = 7100, B2 = 781000, gss = 256*420
- ECM: time = 2767 ms, B1 phase done, p = 7103, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 7313
- ECM: time = 1792 ms
- ECM: B1 = 8700, B2 = 957000, gss = 256*420
- ECM: time = 3907 ms, B1 phase done, p = 8707, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 8921
- ECM: time = 2241 ms
- ECM: B1 = 10600, B2 = 1166000, gss = 512*420
- ECM: time = 4368 ms, B1 phase done, p = 10601, setting up for B2
- ECM: time = 20 ms, entering B2 phase, p = 10813
- ECM: time = 2827 ms
- ECM: B1 = 12900, B2 = 1419000, gss = 512*420
- ECM: time = 6017 ms, B1 phase done, p = 12907, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 13117
- ECM: time = 3223 ms
- ECM: B1 = 15700, B2 = 1727000, gss = 512*420
- ECM: time = 6468 ms, B1 phase done, p = 15727, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 15937
- ECM: time = 3965 ms
- ECM: B1 = 19000, B2 = 2090000, gss = 512*420
- ECM: time = 7982 ms, B1 phase done, p = 19001, setting up for B2
- ECM: time = 17 ms, entering B2 phase, p = 19217
- ECM: time = 4907 ms
- ECM: B1 = 23200, B2 = 2552000, gss = 512*420
- ECM: time = 9698 ms, B1 phase done, p = 23201, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 23411
- ECM: time = 5675 ms
- ECM: B1 = 28000, B2 = 3080000, gss = 512*420
- ECM: time = 11633 ms, B1 phase done, p = 28001, setting up for B2
- ECM: time = 23 ms, entering B2 phase, p = 28223
- ECM: time = 6416 ms
- ECM: B1 = 34500, B2 = 3795000, gss = 512*420
- ECM: time = 14322 ms, B1 phase done, p = 34501, setting up for B2
- ECM: time = 16 ms, entering B2 phase, p = 34717
- ECM: time = 7514 ms
- ECM: B1 = 43000, B2 = 4730000, gss = 1024*420
- ECM: time = 17566 ms, B1 phase done, p = 43003, setting up for B2
- ECM: time = 17 ms, entering B2 phase, p = 43219
- ECM: time = 9777 ms
- ECM: B1 = 53800, B2 = 5918000, gss = 1024*420
- ECM: time = 20504 ms, B1 phase done, p = 53813, setting up for B2
- ECM: time = 16 ms, entering B2 phase, p = 54023
- ECM: time = 10757 ms
- ECM: B1 = 67750, B2 = 7452500, gss = 1024*420
- ECM: time = 25413 ms, B1 phase done, p = 67751, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 67961
- ECM: time = 13933 ms
- ECM: B1 = 85300, B2 = 9383000, gss = 1024*420
- ECM: time = 33857 ms, B1 phase done, p = 85303, setting up for B2
- ECM: time = 19 ms, entering B2 phase, p = 85517
- ECM: time = 17912 ms
- ECM: B1 = 107400, B2 = 11814000, gss = 1024*420
- ECM: time = 43500 ms, B1 phase done, p = 107441, setting up for B2
- ECM: time = 16 ms, entering B2 phase, p = 107657
- ECM: time = 21778 ms
- ECM: B1 = 135400, B2 = 14894000, gss = 1024*420
- ECM: time = 51415 ms, B1 phase done, p = 135403, setting up for B2
- ECM: time = 26 ms, entering B2 phase, p = 135617
- ECM: time = 25173 ms
- ECM: B1 = 170800, B2 = 18788000, gss = 1024*420
- ECM: time = 64824 ms, B1 phase done, p = 170801, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 171013
- ECM: time = 33090 ms
- ECM: B1 = 215400, B2 = 23694000, gss = 1024*420
- ECM: time = 81681 ms, B1 phase done, p = 215417, setting up for B2
- ECM: time = 16 ms, entering B2 phase, p = 215651
- ECM: time = 42665 ms
- ECM: B1 = 271400, B2 = 29854000, gss = 1024*420
- ECM: time = 105048 ms, B1 phase done, p = 271409, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 271637
- ECM: time = 53946 ms
- ECM: B1 = 341500, B2 = 37565000, gss = 1024*420
- ECM: time = 130142 ms, B1 phase done, p = 341501, setting up for B2
- ECM: time = 18 ms, entering B2 phase, p = 341713
- ECM: time = 69894 ms
- ECM: B1 = 429700, B2 = 47267000, gss = 1024*420
- ECM: time = 169417 ms, B1 phase done, p = 429701, setting up for B2
- ECM: time = 16 ms, entering B2 phase, p = 429923
- ECM: time = 26946 ms
- found factor = 16892897616604738393032473779
- IFAC: cofactor = 5919647550678682918318585392550030687321219331802429980672060525048639901448866420111089641083403610030206379807979210510870824800479444820240779860283084327969945191577457
- IFAC: factor 5919647550678682918318585392550030687321219331802429980672060525048639901448866420111089641083403610030206379807979210510870824800479444820240779860283084327969945191577457
- is composite
- IFAC: factor 16892897616604738393032473779
- is prime
- IFAC: prime 16892897616604738393032473779
- appears with exponent = 1
- IFAC: main loop: 1 factor left
- IFAC: cracking composite
- 5919647550678682918318585392550030687321219331802429980672060525048639901448866420111089641083403610030206379807979210510870824800479444820240779860283084327969945191577457
- IFAC: checking for pure square
- IFAC: trying Pollard-Brent rho method
- Rho: searching small factor of 571-bit integer
- Rho: using X^2+5 for up to 49152 rounds of 32 iterations
- Rho: time = 822 ms, 24576 rounds
- Rho: fast forward phase (8192 rounds of 64)...
- Rho: time = 394 ms, 32772 rounds, back to normal mode
- Rho: time = 235 ms, 40960 rounds
- Rho: time = 229 ms, Pollard-Brent giving up.
- IFAC: trying Shanks' SQUFOF, will fail silently if input
- is too large for it.
- IFAC: trying Lenstra-Montgomery ECM
- ECM: working on 64 curves at a time; initializing for up to 173 rounds...
- ECM: time = 0 ms
- ECM: B1 = 1800, B2 = 198000, gss = 128*420
- ECM: time = 692 ms, B1 phase done, p = 1801, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 2017
- ECM: time = 471 ms
- ECM: B1 = 2200, B2 = 242000, gss = 128*420
- ECM: time = 840 ms, B1 phase done, p = 2203, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 2413
- ECM: time = 507 ms
- ECM: B1 = 2700, B2 = 297000, gss = 256*420
- ECM: time = 1003 ms, B1 phase done, p = 2707, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 2917
- ECM: time = 604 ms
- ECM: B1 = 3250, B2 = 357500, gss = 256*420
- ECM: time = 1107 ms, B1 phase done, p = 3251, setting up for B2
- ECM: time = 13 ms, entering B2 phase, p = 3461
- ECM: time = 741 ms
- ECM: B1 = 4000, B2 = 440000, gss = 256*420
- ECM: time = 1453 ms, B1 phase done, p = 4001, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 4211
- ECM: time = 879 ms
- ECM: B1 = 4850, B2 = 533500, gss = 256*420
- ECM: time = 1612 ms, B1 phase done, p = 4861, setting up for B2
- ECM: time = 11 ms, entering B2 phase, p = 5077
- ECM: time = 1031 ms
- ECM: B1 = 5800, B2 = 638000, gss = 256*420
- ECM: time = 2051 ms, B1 phase done, p = 5801, setting up for B2
- ECM: time = 13 ms, entering B2 phase, p = 6011
- ECM: time = 1172 ms
- ECM: B1 = 7100, B2 = 781000, gss = 256*420
- ECM: time = 2447 ms, B1 phase done, p = 7103, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 7313
- ECM: time = 1676 ms
- ECM: B1 = 8700, B2 = 957000, gss = 256*420
- ECM: time = 2978 ms, B1 phase done, p = 8707, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 8921
- ECM: time = 1830 ms
- ECM: B1 = 10600, B2 = 1166000, gss = 512*420
- ECM: time = 3611 ms, B1 phase done, p = 10601, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 10813
- ECM: time = 2122 ms
- ECM: B1 = 12900, B2 = 1419000, gss = 512*420
- ECM: time = 4171 ms, B1 phase done, p = 12907, setting up for B2
- ECM: time = 12 ms, entering B2 phase, p = 13117
- ECM: time = 2564 ms
- ECM: B1 = 15700, B2 = 1727000, gss = 512*420
- ECM: time = 5355 ms, B1 phase done, p = 15727, setting up for B2
- ECM: time = 11 ms, entering B2 phase, p = 15937
- ECM: time = 3090 ms
- ECM: B1 = 19000, B2 = 2090000, gss = 512*420
- ECM: time = 6011 ms, B1 phase done, p = 19001, setting up for B2
- ECM: time = 13 ms, entering B2 phase, p = 19217
- ECM: time = 3367 ms
- ECM: B1 = 23200, B2 = 2552000, gss = 512*420
- ECM: time = 7231 ms, B1 phase done, p = 23201, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 23411
- ECM: time = 4046 ms
- ECM: B1 = 28000, B2 = 3080000, gss = 512*420
- ECM: time = 9137 ms, B1 phase done, p = 28001, setting up for B2
- ECM: time = 11 ms, entering B2 phase, p = 28223
- ECM: time = 4853 ms
- ECM: B1 = 34500, B2 = 3795000, gss = 512*420
- ECM: time = 10440 ms, B1 phase done, p = 34501, setting up for B2
- ECM: time = 19 ms, entering B2 phase, p = 34717
- ECM: time = 5798 ms
- ECM: B1 = 43000, B2 = 4730000, gss = 1024*420
- ECM: time = 12679 ms, B1 phase done, p = 43003, setting up for B2
- ECM: time = 12 ms, entering B2 phase, p = 43219
- ECM: time = 6920 ms
- ECM: B1 = 53800, B2 = 5918000, gss = 1024*420
- ECM: time = 15952 ms, B1 phase done, p = 53813, setting up for B2
- ECM: time = 16 ms, entering B2 phase, p = 54023
- ECM: time = 8713 ms
- ECM: B1 = 67750, B2 = 7452500, gss = 1024*420
- ECM: time = 20493 ms, B1 phase done, p = 67751, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 67961
- ECM: time = 11596 ms
- ECM: B1 = 85300, B2 = 9383000, gss = 1024*420
- ECM: time = 26326 ms, B1 phase done, p = 85303, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 85517
- ECM: time = 14705 ms
- ECM: B1 = 107400, B2 = 11814000, gss = 1024*420
- ECM: time = 33397 ms, B1 phase done, p = 107441, setting up for B2
- ECM: time = 17 ms, entering B2 phase, p = 107657
- ECM: time = 15557 ms
- ECM: B1 = 135400, B2 = 14894000, gss = 1024*420
- ECM: time = 40620 ms, B1 phase done, p = 135403, setting up for B2
- ECM: time = 13 ms, entering B2 phase, p = 135617
- ECM: time = 21753 ms
- ECM: B1 = 170800, B2 = 18788000, gss = 1024*420
- ECM: time = 54020 ms, B1 phase done, p = 170801, setting up for B2
- ECM: time = 14 ms, entering B2 phase, p = 171013
- ECM: time = 26966 ms
- ECM: B1 = 215400, B2 = 23694000, gss = 1024*420
- ECM: time = 65318 ms, B1 phase done, p = 215417, setting up for B2
- ECM: time = 12 ms, entering B2 phase, p = 215651
- ECM: time = 32216 ms
- ECM: B1 = 271400, B2 = 29854000, gss = 1024*420
- ECM: time = 84390 ms, B1 phase done, p = 271409, setting up for B2
- ECM: time = 15 ms, entering B2 phase, p = 271637
- ECM: time = 41819 ms
- ECM: B1 = 341500, B2 = 37565000, gss = 1024*420
- ECM: time = 104850 ms, B1 phase done, p = 341501, setting up for B2
- ECM: time = 17 ms, entering B2 phase, p = 341713
- ECM: time = 50177 ms
- ECM: B1 = 429700, B2 = 47267000, gss = 1024*420
- ECM: time = 126526 ms, B1 phase done, p = 429701, setting up for B2
- ECM: time = 12 ms, entering B2 phase, p = 429923
- ECM: time = 63064 ms
- ECM: B1 = 540400, B2 = 59444000, gss = 1024*420
- ^C *** at top-level: factorint(10^200+3)
- *** ^-------------------
- *** factorint: user interrupt after 36min, 57,769 ms
- *** Break loop: <Return> to continue; 'break' to go back to GP prompt
复制代码
pari/GP也找到了相同的结果
找到这个因子并不麻烦
(只是我不知道该怎么要求Pari/GP找到这个因子之后停止,于是浪费了太多时间)
Pari/GP分解因数的效率其实挺高的 |
|