Permuted multiples: Difference between revisions

m
No edit summary
m (→‎{{header|Wren}}: Minor tidy)
 
Line 1,245:
{{libheader|Wren-math}}
One thing that's immediately clear is that the number must begin with '1' otherwise the higher multiples will have more digits than it has.
<syntaxhighlight lang="ecmascriptwren">import "./math" for Int
 
// assumes l1 is sorted but l2 is not
9,476

edits