Combinatorial methods in number theory: Sieve theory and special functions