Aliquot sequence classifications: Difference between revisions
→{{header|Wren}}: Stat -> Nums
m (→{{header|REXX}}: reduced the font size for the output section.) |
(→{{header|Wren}}: Stat -> Nums) |
||
Line 3,676:
{{libheader|Wren-math}}
<lang ecmascript>import "/fmt" for Conv, Fmt
import "/math" for Int,
class Classification {
Line 3,701:
var seq = [k]
while (true) {
last =
seq.add(last)
var n = seq.count
|