Java program to find the number of ordered pairs such that a * p + b * q = N where p and q are primes
public class GFG { final static int size = 10001 ; static int prime [ ] = new int [ size ] ; static int freq [ ] = new int [ size ] ;