Proper divisors: Difference between revisions

m (→‎{{header|Phix}}: added syntax colouring the hard way)
Line 1,816:
<lang dyalect>func properDivs(n) {
if n == 1 {
returnyield break
}
for x in 1..^<n {
if n % x == 0 {
yield x
Anonymous user