Jordan-Pólya numbers: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
(Added Easylang) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 1,667:
{{libheader|Wren-fmt}}
This uses the recursive PARI/Python algorithm in the OEIS entry.
<syntaxhighlight lang="
import "./seq" for Lst
import "./fmt" for Fmt
Line 1,771:
{{libheader|Wren-sort}}
This uses the same non-recursive algorithm as the Phix entry to generate the J-P numbers which, at 1.1 seconds on my machine, is about 40 times quicker than the OEIS algorithm.
<syntaxhighlight lang="
import "./seq" for Lst
import "./fmt" for Fmt
|