{"id":8220,"date":"2020-07-19T21:26:09","date_gmt":"2020-07-19T13:26:09","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8220"},"modified":"2020-07-19T21:26:10","modified_gmt":"2020-07-19T13:26:10","slug":"factor","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/factor","title":{"rendered":"factor\u547d\u4ee4 – \u5206\u89e3\u56e0\u6570"},"content":{"rendered":"\n

factor\u547d\u4ee4\u7528\u4e8e\u5206\u89e3\u56e0\u6570\u3002<\/p>\n\n\n\n

factor\u662fUbuntu\u81ea\u5e26\u7684\u5206\u89e3\u8d28\u56e0\u6570\u7684\u6307\u4ee4\uff0c\u901f\u5ea6\u98de\u5feb\u3002\u7cfb\u7edf\u81ea\u5e26\u7684factor\u6ca1\u7528gmp\uff0c\u4e0d\u652f\u63012^128(\u5927\u698240\u4f4d)\u4ee5\u4e0a\u7684\u6570\uff0c\u5982\u679c\u81ea\u5df1\u7f16\u8bd1coreutils\u4f7f\u5176\u652f\u6301gmp\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u7b97\u4efb\u610f\u4f4d\u7684\u6570\u4e86\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>factor [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

number<\/td>40\u4f4d\u4ee5\u5185\u7684\u6574\u6570<\/td><\/tr>
pf<\/td>\u4e3b\u56e0\u5b50\u65b9\u6cd5<\/td><\/tr>
pcf<\/td>\u4e3b\u6210\u5206\u56e0\u5b50<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

60\u7684\u5206\u89e3\u56e0\u6570\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# factor 60\n60:2 2 3 5<\/pre>\n\n\n\n

1987\u7684\u5206\u89e3\u56e0\u6570\uff08\u6ca1\u6709\u8fd4\u56de\u66f4\u591a\u56e0\u5b50\uff0c\u8fd9\u662f\u56e0\u4e3a 1987 \u662f\u4e00\u4e2a \u8d28\u6570\uff09\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# factor 1087\n1987:1987<\/pre>\n\n\n\n

\u8fde\u7eed\u5206\u89e3\u591a\u4e2a\u6570\u5b57\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# factor\n60\n60:2 2 3 5\n1987\n1987:1987<\/pre>\n\n\n\n

\u5206\u89e3\u6700\u5927\u4f4d\u6570\uff0840\u4f4d\uff09\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# factor 170150000000000000000000000000000000000\nfactor: \u2018170150000000000000000000000000000000000\u2019 is too large<\/pre>\n","protected":false},"excerpt":{"rendered":"

factor\u547d\u4ee4\u7528\u4e8e\u5206\u89e3\u56e0\u6570\u3002 factor\u662fUbuntu\u81ea\u5e26\u7684\u5206\u89e3\u8d28\u56e0\u6570\u7684\u6307\u4ee4\uff0c\u901f\u5ea6\u98de\u5feb\u3002\u7cfb\u7edf\u81ea\u5e26\u7684fact […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8220"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8220"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8220\/revisions"}],"predecessor-version":[{"id":8397,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8220\/revisions\/8397"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}