Anonymous user
Proper divisors: Difference between revisions
→{{header|Dyalect}}
m (→{{header|Phix}}: added syntax colouring the hard way) |
|||
Line 1,816:
<lang dyalect>func properDivs(n) {
if n == 1 {
}
for x in 1..
if n % x == 0 {
yield x
|