Proper divisors: Difference between revisions

m
(Proper divisors in various BASIC dialents)
Line 2,139:
}
}
 
for i in 1..10 {
print("\(i): \(properDivs(i).toArrayToArray())")
}
Line 2,147:
for i in 1..20000 {
let count = properDivs(i).lenLength()
if count > max {
set (num, max) = (i, count)
Anonymous user