2006 AIME II Problem 13
Problem 13 of 15HarderAlgebraNumber Theory
How many integers less than can be written as the sum of consecutive positive odd integers for exactly values of
Your answer
Integer from 0 to 999
Show solution
Solution
The sum of the th through th positive odd integers is Writing and the representations of correspond exactly to the factorizations with and of the same parity (then ). So we need to have exactly such factorizations.
If is odd, every divisor pair works, so needs or divisors, i.e. or with distinct odd primes. Below and are impossible, gives and and gives five odd values.
If is even, both factors must be even, so and the factorizations correspond to divisor pairs of with no parity restriction; we need with or divisors. With divisors: With divisors (): That is even values, for a total of
Tagged: difference of squares · factor counting · parity