Count pairs from a given range whose sum is a Prime Number in that range
Given two integers L and R, the task is to count the number of pairs from the range [L, R] whose sum is a prime number in the range [L, R]. Examples: Input: L = 1, R = 5Output: 4Explanation: Pairs whose sum is a prime number and in the range [L, R] are { (1, 1), (1, 2), (1, 4), (2, 3) }. Therefore,