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, StatNums
class Classification {
Line 3,701:
var seq = [k]
while (true) {
last = StatNums.sum(Int.properDivisors(last))
seq.add(last)
var n = seq.count
9,485

edits