Posted by **Oian** on Friday, March 29, 2013 at 8:44pm.

What is the sum of all integer values of n satisfying 1≤n≤100, such that (n^2)−1 is a product of exactly two distinct prime numbers?

Details and assumptions

The number 12=2×2×3 is the product of 3 (not necessarily distinct) prime numbers.