paper

The Hardy--Ramanujan inequality for sifted sets and its applications

arXiv:2508.06005

Abstract

The well-known Hardy--Ramanujan inequality states that if denotes the number of distinct prime factors of a positive integer , then there is an absolute constant such that uniformly for and , \[\#\{n\le x\colonω(n)=k\}\ll\frac{x(\log\log x+C)^{k-1}}{(k-1)!\log x}.\] A myriad of generalizations and variations of this inequality have been discovered. In this paper, we establish a weighted version of this inequality for sifted sets, which generalizes an earlier result of Halász and implies Timofeev's theorems on shifted primes. We then explore its applications to a variety of intriguing problems, such as large deviations of on subsets of integers, the Erdős multiplication table problem, divisors of shifted primes, and the image of the Carmichael -function. Building on the same circle of ideas, we also generalize Troupe's result on the normal order of for the sum-of-proper-divisors function , confirming for the first time the weighted version of a special case of a 1992 conjecture by Erdős, Granville, Pomerance, and Spiro.

44 pages