Untouchable numbers: Difference between revisions

Content added Content deleted
(→‎{{header|Wren}}: Added a second, much faster version.)
m (Oops, removed duplicate Wren header.)
Line 1,903: Line 1,903:


Run time for untouchable numbers up to 100,000 (m = 14) is now only 1.4 seconds and 1,000,000 (m = 63) is reached in 132 seconds.
Run time for untouchable numbers up to 100,000 (m = 14) is now only 1.4 seconds and 1,000,000 (m = 63) is reached in 132 seconds.
=={{header|Wren}}==
<syntaxhighlight lang="ecmascript">import "/math" for Int, Nums
<syntaxhighlight lang="ecmascript">import "/math" for Int, Nums
import "/seq" for Lst
import "/seq" for Lst