Let p be a prime number such that the next larger number is a perfect square. Find the sum of all such prime numbers. (For example, if you think 11 and 13 are two such prime numbers, then the sum is 24.)
Answer:
3
- Given, p is a prime number such that the next larger number is a perfect square.
i.e.,p+1=n2 - Rewriting p+1=n2, we get
- Since is a prime number, therefore needs to be equal to
Therefore, is unique.
Hence, the required sum is