2006 AIME II Problem 13

How many integers N less than 1000 can be written as the sum of j consecutive positive odd
integers for exactly 5 values of j \geq 1 ?