Loading...
August 30, 2025 at 11:25
English

When Is the Sum of All Divisors an Odd Number? Olympiad Problem Explained

Hello everyone! Hope you’re enjoying the last days of summer. New posts in the channel have been a bit sparse lately.

But!

Changes are coming — more on that in September. The main thing is that activity here will pick back up soon: more mathematical beauty, math news, and food for thought. It’s useful to think every once in a while, especially when you have something to think with.

So stay tuned! In the meantime, here’s a problem to chew on — share your thoughts in the comments.

The Olympiad Problem: Sum of Divisors Odd

Problem:
The sum of all divisors of 2025 equals

1 + 3 + 5 + 9 + 15 + 25 + 27 + 45 + 75 + 81 + 135 + 225 + 405 + 675 + 2025 = 3751,

and this is an odd number.
What is the smallest number N > 2025 for which the sum of all its divisors is also odd?

Answer: 2048

Why the Sum of Divisors Is Odd: The Key Theorem

To solve this, you need to know which numbers have an odd divisor sum in the first place.

The key fact from number theory: σ(n) is odd if and only if n is a perfect square or n is twice a perfect square.

Here is the idea behind this. Write n = 2^a × m, where m is odd. Then σ(n) = σ(2^a) × σ(m). The factor σ(2^a) = 1 + 2 + 4 + ⋯ + 2^a = 2^(a+1) − 1 is always odd. So the parity of σ(n) depends entirely on σ(m).

For odd m, σ(m) is odd if and only if m is a perfect square — because for each odd prime power p^k in the factorization of m, the sum 1 + p + p² + ⋯ + p^k has k + 1 terms (each odd), so it is odd precisely when k is even.

Putting it together: σ(n) is odd when n = 2^a × k² for some odd integer k. If a is even, this is a perfect square; if a is odd, this equals 2 × (perfect square).

Finding the Smallest N > 2025 With Odd Divisor Sum

Now we search for candidates just above 2025.

Perfect squares after 2025 = 45²:
the next one is 46² = 2116.

Twice a perfect square after 2025:
we need 2 × m² > 2025, so m² > 1012.5, meaning m ≥ 32.
This gives 2 × 32² = 2 × 1024 = 2048.

Comparing the two candidates: 2048 < 2116, so N = 2048 is the answer.

Verification: Checking That σ(2048) Is Indeed Odd

2048 = 2^11, so its only divisors are powers of 2:

σ(2048) = 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + 512 + 1024 + 2048 = 2^12 − 1 = 4095.

4095 is odd. Confirmed.

Summary: When Is the Sum of Divisors Odd?

The rule is clean and elegant:

  • σ(n) is odd if and only if n is a perfect square or twice a perfect square.
  • 2025 = 45² is a perfect square, so σ(2025) = 3751 is odd.
  • The next qualifying number is 2048 = 2 × 32², and σ(2048) = 4095 is odd.

No number strictly between 2025 and 2048 falls into either category, which is why 2048 is the answer.

keyboard_arrow_up