Zsigmondy numbers: Difference between revisions

m
→‎{{header|Wren}}: More specific.
m (→‎{{header|Wren}}: Updated preamble.)
m (→‎{{header|Wren}}: More specific.)
Line 272:
{{libheader|Wren-math}}
{{libheader|Wren-fmt}}
Shows the first 20 terms for each radix set apart from [7, 1] and [7, 5] where I've had to limit the number of terms to 18 for now. This is because the 19th term is being calculated incorrectly due to the difference in powers7^19 exceeding Wren's safe integer limit of 2^53. It's only by good fortune that [7, 3] works correctly.
<syntaxhighlight lang="ecmascript">import "./math" for Int
import "./fmt" for Fmt
9,492

edits