摘要: 质因子分解: #质因子分解 #n=p1**a1+p2**a2+...+pn**an #num=(1+a1)(1+a2)...(1+an) def Prime_factorization(num): count = 1 x = 2 while x * x <= num: temp = 1 while 阅读全文
posted @ 2021-06-17 21:28 坤舆小菜鸡 阅读(11) 评论(0) 推荐(0) 编辑