Chernick's Carmichael numbers: Difference between revisions

m
m (Automated syntax highlighting fixup (second round - minor fixes))
m (→‎{{header|Wren}}: Minor tidy)
 
Line 1,408:
{{libheader|Wren-fmt}}
Based on Go's 'more efficient' version. Reaches a(9) in just over 0.1 seconds but a(10) would still be out of reasonable reach for Wren so I've had to be content with that.
<syntaxhighlight lang="ecmascriptwren">import "./big" for BigInt, BigInts
import "./fmt" for Fmt
 
var min = 3
Line 1,501:
Factors: [5703361, 11406721, 17110081, 34220161, 68440321, 136880641, 273761281, 547522561, 1095045121]
</pre>
 
=={{header|zkl}}==
{{trans|Go}}
9,476

edits