Erdős-Kac theorem 2026-10-06
For a real strongly additive arithmetic function with uniformly bounded values on primes, put and . If , then under uniform sampling from converges to the standard normal distribution. For the prime omega function, the mean and variance scales are .
Concentration of the prime omega function near , together with and the bounded mean of , gives . This elementary argument uses only distinct prime factors.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 3 b Solution 2026-10-06
Write , where is the prime omega function. If , its contribution to the Dirichlet convolution isSince , summing over the prime factors proves the log-weighted convolution bound for three to the prime omega, . On , , henceThis is the required inequality. The standard Chebyshev estimate bounds its right side by . To bound the latter sum, use multiplicativity and extend to all numbers with prime factors at most :The Mertens second theorem states . Taking logarithms of the product, with a summable remainder, gives . Therefore the product is , proving the summatory bound for three to the prime omega in the required range:
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 4 b Solution Created 2026-10-03 Updated 2026-10-06
Put , with the offset logarithmic integral function. The permitted standard sieve estimate can be taken as the Brun–Titchmarsh theorem:For , . Also . Thus both terms defining are , uniformly over the permitted moduli. Apply the Cauchy-Schwarz inequality in the formThis is the weighted arithmetic-progression error bound. The prime omega function and Euler totient function weights can therefore be handled using an unweighted mean error and a separate positive sum.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 1 a Solution Created 2026-10-03 Updated 2026-10-14
An additive arithmetic function satisfies for coprime integers ; a completely additive arithmetic function satisfies this for all positive . In either case . The fundamental theorem of arithmetic gives , where means that the prime valuation of at is exactly .
Under the discrete uniform distribution on , the expectation of the indicator function of isThe formula remains valid when . Applying linearity of expectation to the finite prime power decomposition proves the required mean formula:
For the last assertion, write the excess prime-factor multiplicity directly as a sum of nonnegative indicator functions:Here is the prime omega function and is the total number of prime factors. The expectation is bounded independently of , sinceThus Markov inequality gives vanishing probability on every diverging scale:
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 3 c Solution Created 2026-10-03 Updated 2026-10-06
For an additive arithmetic function , one standard form of the Turán-Kubilius inequality usesIt states, with an absolute constant,For real , this also bounds the variance under the discrete uniform distribution, because centering at the actual expectation minimizes the mean square.
For the prime omega function, . The Mertens theorem for reciprocal primes states . The contribution of higher prime powers is bounded by , as proved in 1(a). It follows that and . Writing , the Turán-Kubilius inequality and Chebyshev inequality therefore yieldThe bounded error in is absorbed by, for example, using the threshold around for sufficiently large .
For the multiplication table problem, call a pair good when and . The preceding Chebyshev inequality excludes only pairs by either of the first two conditions. For the greatest common divisor condition, linearity of expectation under uniform sampling of the two coordinates givesMarkov inequality therefore excludes only another pairs.
The prime factors of a product form the union of those of its factors. Consequently, for every good pair,On the other hand, apply the proved concentration estimate at . Since , for large every integer with is exceptional there. There are only such integers. Products of good pairs lie in this exceptional set; products having only bad representations are at most as numerous as the bad pairs. This proves the multiplication-table upper bound, using distinct prime factors alone:
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 5 c Solution Created 2026-10-03 Updated 2026-10-06
A useful method of moments in probability states that if real random variables have all moments, for every integer , and is the moment sequence of a moment-determinate probability distribution, then converges to that distribution in the sense of convergence in distribution. In particular, convergence to the standard normal distribution follows from limiting odd moments zero and limiting even moments . The moment-generating function of a standard normal variable, finite in a neighbourhood of zero, ensures moment determinacy.
For the classical Erdős-Kac theorem, put and choose, for example, , with a harmless modification for small . Truncate the prime omega function to primes . The omitted number of distinct prime factors of any is at most , since a product of omitted primes exceeds . Thus this truncation changes the normalized variable by uniformly. Also, the Mertens theorem for reciprocal primes gives
Part (b) transfers every fixed normalized central moment of the truncated prime omega function to the independent Bernoulli random variables model. Indeed, its unnormalized error is at most , using , and this tends to zero for each fixed . In the independent expansion, any singleton index has zero expectation; the leading contributions are pairings, giving exactly the standard normal distribution moments, while blocks of size at least three are negligible after normalization. The method of moments in probability, followed by the uniformly negligible truncation and centering errors, proves the Erdős-Kac theorem.
The same strategy proves the bounded-prime-weight form in part (a). Choose slowly enough that . The omitted weighted contribution is ; its mean is likewise , and its independent variance is by the Mertens theorem for reciprocal primes. Hence the truncated model has the same normalization, and part (b) again transfers each fixed central moment.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 5 d Solution Created 2026-10-03 Updated 2026-10-06
Let , , and let be the cumulative distribution function of . Since the prime omega function is integer-valued, is constant on every half-open interval between consecutive points of the lattice .
Choose and put , . Then , and has the same value throughout . The standard normal distribution function is continuous, so the definition of the Kolmogorov distance giveswhere the second inequality follows by taking a limit from below at . The triangle inequality therefore yieldsThus the integer lattice forces the lower bound:This lattice obstruction to normal approximation does not require a quantitative Erdős-Kac theorem; it follows directly from discreteness and the positive standard normal density near zero.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 150 1 b Solution 2026-09-28
Putby part a. Double-counting divisibility gives the first moment of the prime omega function:Moreover,soExpanding the square and using the given bound now gives the Turán normal-order theorem for distinct prime divisors estimate
Prime omega function Created 2026-09-28 Updated 2026-10-13
The prime omega function counts the distinct prime factors of a positive integer , so it is the cardinality of the prime support of an integer . For a prime factorization with distinct prime numbers and positive exponents,At there are no prime factors, so the empty sum gives . The total number of prime factors instead gives . [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781, Floor and arithmetic functions, Definition 2.1.2: distinct and repeated prime factors
For , the prime support of an integer is and . The comparison examples give , and . Raising an existing prime factor to a higher power does not affect the prime omega function: for a prime number and . Thus the prime omega function is a strongly additive arithmetic function, withThe reason is that coprime integers have disjoint prime supports of an integer. For arbitrary positive integers, their prime support of an integer combines by set union, and the shared prime factors are exactly those of the greatest common divisor. Counting this set union gives the more general identityFor , , both prime supports of an integer are and , so . In particular : the prime omega function is not a completely additive arithmetic function.
The prime omega function is useful for counting choices involving distinct prime factors. Every squarefree divisor of chooses a subset of its prime support of an integer, so there are squarefree divisors. For , this gives , namely . Also , because the radical of an integer keeps exactly that prime support of an integer. The total number of prime factors records what this count discards, and the two counts agree exactly on squarefree integers.
Prime support of an integer 2026-10-14
The prime support of an integer is the finite set of its distinct prime factors. For example, , and is the empty set. Its cardinality is the prime omega function , and the product of its elements is the radical of an integer . These are two different ways to summarize the same finite set: a count and a product.
Radical of an integer Created 2026-10-06 Updated 2026-10-13
The radical of an integer is the product of its distinct prime factors, each included exactly once. If the prime factorization is with distinct prime numbers and positive integer exponents , thenThus the radical of an integer remembers which prime factors occur and forgets their prime valuations. At , the empty product gives . The domain of a function here is the positive integers; zero is excluded. [ref]
https://pub.math.leidenuniv.nl/~evertsejh/dio12-ex4.pdf. Jan-Hendrik Evertse, Diophantine approximation, Homework IV, Exercise 20: definition of the integer radical
For example, has distinct prime factors , so . Similarly,using the prime factorizations , and . The prime omega function counts the retained prime factors, while the total number of prime factors counts their occurrences before repetitions are removed.
The radical of an integer is its largest squarefree divisor. Indeed, a squarefree divisor chooses at most one copy of each prime factor, so it divides ; the radical of an integer itself is a squarefree divisor. Consequently,The last statement follows because every nonzero prime valuation is then one. It includes , a squarefree integer. Applying the radical of an integer twice also changes nothing: .
The radical of an integer for : squarefree integers lie on the diagonal, and horizontal families share their prime support of an integer
. Details. For any positive integers , the exact product rule isTo prove it, a prime factor dividing just one input occurs once in the numerator and not in the denominator. A prime factor dividing both occurs twice in the numerator and once in the denominator, since it divides their greatest common divisor. Each prime factor of therefore remains exactly once. For coprime integers, the denominator is , proving the radical of an integer is a multiplicative function. It is not a completely multiplicative function: .
For a worked example with shared prime factors, take and . Their greatest common divisor is , and , soThis explains why prime support of an integer is useful: questions about the presence of prime factors can discard their multiplicities. For example, the squarefree divisors of are exactly the integer divisors of , namely . Also if and only if , because coprimality depends only on shared prime factors.
A further characterization uses mutual divisibility of powers: for positive integers ,If their prime supports of an integer agree, sufficiently large make all the required prime valuations large enough. Conversely, these two divisibility relations force each prime factor of either input to divide the other. For and , one can take and : and .
Strongly additive arithmetic function Created 2026-10-06 Updated 2026-10-14
A strongly additive arithmetic function satisfies for every prime and , so . The prime omega function is an example.
Total number of prime factors Created 2026-10-06 Updated 2026-10-13
The total number of prime factors counts every occurrence of a prime factor in the prime factorization of a positive integer . Equivalently, it adds the prime valuations:One may also write over all prime numbers, since only finitely many prime valuations are nonzero. The empty sum gives . By contrast, the prime omega function has and counts distinct prime factors. [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781, Floor and arithmetic functions, Definition 2.1.2: the two prime-factor counts
Expanding into shows , whereas and . The same calculation for the comparison examples givesThe total number of prime factors agrees for and , although their prime supports of an integer differ. Meanwhile and have the same radical of an integer and prime omega function, but different values of the total number of prime factors. These examples show exactly which information each arithmetic function forgets.
One box per prime factor occurrence: the total number of prime factors counts boxes, the prime omega function counts groups, and the radical of an integer multiplies one prime number from each group
. Details. The total number of prime factors is a completely additive arithmetic function:The proof is that multiplication adds each prime valuation, , and summing preserves that equality. No coprimality condition is needed. For example, and both have total number of prime factors three; their product has six. By comparison, the prime omega function is only an additive arithmetic function: here .
There is a useful way to see the total number of prime factors as a count of elementary building blocks: any expression of as a product of prime numbers has exactly factors, by the fundamental theorem of arithmetic. Equivalently, every factorization tree for has leaves. Repeated prime factors increase this count without introducing new kinds of prime number. The difference is the existing excess prime-factor multiplicity:Every summand is nonnegative, so if and only if is a squarefree integer, including . In particular, a prime power with has , and .
Historically, Hardy and Ramanujan's 1917 paper explicitly separated the prime omega function from the total number of prime factors, writing them as and , respectively. Their example has counts three and six. That distinction let them compare two measures of how an integer is built from prime factors. [ref]
https://ramanujan.sirinudi.org/Volumes/published/ram35.html. G. H. Hardy and S. Ramanujan, The normal number of prime factors of a number n, Quarterly Journal of Mathematics 48 (1917), 76–92, Section 1.2, transcribed original text

