How many integers between 1,000 and 2,000 have exactly 2 distinct prime factors? Any help would be appreciated. Thank you.
A short computer code gives 275 such numbers beginning with:
1003, 1006, 1007, 1011.......and ending with.............. 1985, 1991, 1994.