Problem 610: (2006 AIME II, 13)
How many integers $N$ less than 1000 can be written as the sum of $j$ consecutive positive odd integers from exactly 5 values of $j\ge 1$?
- The sum of $j$ consecutive odd numbers starting at $2a+1$ is $j(j+2a)$. So the values of $j$ correspond to factorizations $N=jk$ with $k\ge j$ and $k\equiv j\pmod2$.
- For odd $N$ these are all factor pairs: $5$ pairs means $\tau(N)\in\{9,10\}$. For $N=4M$ they are the pairs $(2j',2k')$ with $j'k'=M$, so $\tau(M)\in\{9,10\}$. $N\equiv2\pmod4$ has none.
- Odd $N<1000$ with $\tau=9$ are $225,441$; $\tau=10$ are $3^4\cdot5,3^4\cdot7,3^4\cdot11=405,567,891$. $M<250$ with $\tau=9$ are $36,100,196,225$; $\tau=10$ are $48,80,112,176,208,162$.
- Total $5+10=15$. The answer is $\boxed{015}$.
How many integers $N$ less than 1500 can be written as the sum of $j$ consecutive positive odd integers for exactly 4 values of $j\ge 1$?