Check if N is a Weak Prime number or not
Given a positive integer N, the task is to check if N is a weak Prime or not. In number theory, a weak prime is a prime number that is less than the arithmetic mean of nearest prime numbers i.e next and previous prime numbers.First few weak prime numbers are 3, 7, 13, 19, 23, 31, 43, 47, 61, â¦A weak