Consider all 3-term geometric sequences with first term 1 and with common ratio the square of an integer between 1 and 1000 (inclusive). How

many of these 1000 geometric sequences have the property that the sum of the 3 terms is prime?