← RoseCode

ROSECODE 534

Zumkeller Numbers

Philippe_57721 · Programming ·

A Zumkeller number is a number such as the set of its divisors can be partitioned in two subsets of equal sum.
For instance,
divisors(108)=E={1,2,3,4,6,9,12,18,27,36,54,108} and
E=A∪B with A={2,12,18,108} and B={1,3,4,6,9,27,36,54}
∑a∈Aa=∑b∈Bb=140

Find all Zumkeller numbers in the range [439050,439100]

Answer format: count,sum

[My timing: 6 sec]