Introduction Sieve theory is a set of one of the general techniques used in number theory. It helps in counting, or to get an estimation of the size of the sifted sets of integers. According to Wikipedia, the Sieve method, or the method of ...