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\)?

(第二十四届AIME2 2006 第13题)