Talk:Zumkeller numbers

From Rosetta Code
Revision as of 06:56, 9 May 2021 by rosettacode>Horsth (→‎Why this limitation in c++: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Why this limitation in c++

    // if we get here and n is odd or n has at least 24 divisors it's a zum!
    if (n % 2 || d.size() >= 24)
        return true;

99504 has 28 divisors and is not a zumkeller number.Horsth 06:56, 9 May 2021 (UTC)