Proper divisors: Difference between revisions

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