Proper divisors: Difference between revisions
m
→{{header|Phix}}: factors() now allows 0
m (→{{header|Phix}}: factors() now allows 0) |
m (→{{header|Phix}}: factors() now allows 0) |
||
Line 3,844:
-- if include1 is -1 the result contains 1 but not n
--
if n=0 then return {} end if
sequence lfactors = {}, hfactors = {}
atom hfactor
|