版本1 埃氏筛,未解决递归问题以前用过Clojure写埃氏筛来实现无限素数 ... 0 b else gcd(b,temp) end end function lcm(a,b) g = gcd(a,b) d = a / g ...
確定! 回上一頁