Asked by Jack

What is the sum of all integer values of n satisfying 1 \leq n \leq 100, such that n^2 - 1 is a product of exactly two distinct prime numbers?

Answers

Answered by Steve
since n^2-1 = (n-1)(n+1) we are looking for twin primes

Just look up a list of twin primes, and sum their average (since you want the even number n between n-1 and n+1)
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions