Carmichael function Created 2026-09-24 Updated 2026-10-20
For an integer , the Carmichael function is the exponent of a finite group for the unit group : the least positive integer for which
Here the greatest common divisor condition selects the units. Euler's totient function counts them; the Carmichael function gives their least common return exponent.[ref]
Modulo eight, the units are , and their squares are all congruent to one. Their multiplicative orders are , so although . Modulo fifteen, the units have multiplicative orders . For example, the powers of two return through . Thus although ; the multiplicative order of four is only two.
Figure 1.
Individual unit orders divide the least common return exponent modulo eight and fifteen
. Details.
The three quantities are related by
A common return exponent must be a multiple of every multiplicative order, hence of their least common multiple. Conversely, that least common multiple makes every unit return to one. Lagrange's theorem makes each multiplicative order divide the group order , proving the final divisibility. The Carmichael function applies to all units at once, while the multiplicative order concerns a chosen unit.
For the prime factorization with distinct prime numbers and , the formulas are
These are least common multiples, rather than products: . The convention handles the trivial case separately.[ref]
The Chinese remainder theorem for unit groups explains the least common multiple: a power returns to one in every prime power component exactly when it is a multiple of each component's exponent of a finite group. For an odd prime power, the unit group is a cyclic group of group order . For , the unit group modulo is a direct product of groups , generated by the classes of and five, so its exponent of a finite group is .[ref]
This gives a uniform reduction for modular exponentiation: for a unit and a nonnegative integer , reduce modulo . For example, because . The unit hypothesis matters: , but . Computing the formula assumes the prime factorization is available. The same common-exponent viewpoint explains Carmichael numbers: a composite number passes the Fermat primality test for every unit base exactly when . For example, .
Chebyshev function Created 2026-09-28 Updated 2026-10-14
The two Chebyshev functions measure the total natural logarithm weight of prime numbers or of prime powers greater than one below a real cutoff :
Here ranges over prime numbers, over positive integers, and over positive integers. The Chebyshev theta function , also written , weights each prime number once. The Second Chebyshev function weights every positive power of each prime number separately. Both vanish for ; the inclusive cutoff makes them right-continuous functions and nondecreasing functions, constant between their jumps. [ref]
At , the prime numbers are , while the extra prime powers greater than one are . Exactly,
At each prime number , both Chebyshev functions jump by . At a prime power with , only the Second Chebyshev function jumps, by . At and neither jumps. Notice that the gap is already positive at and : a shared jump does not remove the earlier contribution from .
Figure 1.
The Chebyshev functions separate at the extra prime powers , , and
. The upper panel compares and for . Solid endpoints include the jump at each contributing integer; open endpoints show the preceding value. The lower panel isolates , which jumps by at and and by at , reaching . All logarithms are natural logarithms. Details.
Grouping the prime powers by their exponent gives, for ,
The floor function cutoff is exact: forces whenever . For each exponent, is equivalent to . An upper cutoff smaller than the lower one means an empty sum. [ref]
Let be distinct prime numbers and positive integers. There are infinitely many positive integers with for every . Indeed the moduli are pairwise coprime, so the Chinese remainder theorem solves simultaneously. Adding multiples of their product gives arbitrarily large positive solutions. This allows long runs in which every integer has a large prescribed prime power divisor, even though neighboring integers are coprime.
Divisor sum Created 2026-09-24 Updated 2026-10-14
The divisor sum of an arithmetic function assigns to each positive integer the sum
Only positive integer divisors are included, so . The weights can count the integer divisors, measure their sizes, or record other arithmetic information: the constant-one arithmetic function gives the divisor function, whereas the identity arithmetic function gives the sum-of-divisors function.
Here is the mechanism. For positive coprime integers , every positive integer divisor of has a unique form with and ; moreover, are coprime integers. Thus a multiplicative function satisfies
At a prime power, the divisor sum becomes . This turns a calculation over many integer divisors into short local calculations at prime powers.
Euler totient function Created 2026-09-24 Updated 2026-10-20
Euler's totient function is the arithmetic function
It counts the congruence classes modulo represented by integers coprime to . In particular, , since . For , the coprime integers among are , so ; they form a reduced residue system. [ref]
Counting these congruence classes is useful because they are exactly the classes with modular multiplicative inverses. Their number supplies the exponent in Euler theorem. Möbius inversion gives the product formula
where runs over distinct prime factors of . Thus for prime powers with , and . The product for is an empty product, so it gives the same convention .
Finite field Created 2026-09-24 Updated 2026-10-13
A finite field is a field with finitely many elements: addition, subtraction, multiplication, and division by a nonzero element all stay inside a finite collection. Write , or , for a finite field with elements. The subscript counts elements; it does not prescribe modular arithmetic modulo . The field with four elements is the smallest example where that distinction matters.
Every finite field has size , where is a prime number and is a positive integer. To see the counting mechanism, use its prime field : the finite field is a finite-dimensional vector space over . For a basis , every element has exactly one expression
Each coefficient has choices, so there are expressions. Here is the characteristic of a field and is the dimension of a vector space. Thus sizes are possible, whereas are not prime powers and cannot be finite field sizes.
Conversely, every prime power occurs, and any two finite fields of the same size admit a field isomorphism. These are classification statements, beyond the counting argument. See Conrad's Theorems 1.5, 2.2, and 2.7.[ref] Uniqueness means the arithmetic agrees after relabeling; it does not choose a basis, an irreducible polynomial for a quotient ring representation, or a particular field isomorphism. Even for the field with four elements, exchanging and preserves the arithmetic.
The appeal for coding theory is exact, finite arithmetic with reliable division: polynomial interpolation and linear algebra work over a finite alphabet. A Reed-Solomon code represents messages by polynomials and adds redundancy by evaluating them at several distinct finite field elements. Forney's MIT notes develop this arithmetic as preparation for such error-correcting codes.[ref] In cryptography, finite fields likewise supply exact arithmetic on finitely many symbols, with operations that can be implemented using bits.
Historically, Évariste Galois published work on finite fields beyond prime fields in 1830, constructing them by adjoining elements satisfying irreducible polynomials over prime fields. Conrad's historical account also records E. H. Moore's 1893 terminology, from which the name Galois field and notation descend.[ref]
Gaussian binomial coefficient Created 2026-10-13 Updated 2026-10-20
A Gaussian binomial coefficient refines an ordinary binomial coefficient into a polynomial that remembers a size statistic. For nonnegative integers and , write
The product represents a polynomial; it is not an instruction to divide by zero when or a denominator vanishes. The Gaussian binomial coefficient recurrence gives a way to compute it with only addition and multiplication. The empty product for is one, and as well. Setting after obtaining the polynomial recovers .
For example,
At this gives six objects, but its coefficients reveal how those six objects are distributed across sizes : there are two of size two and one of each other size. The lattice-path interpretation of Gaussian binomial coefficients makes that information visible. Take unit steps north or east from to . A north step at horizontal coordinate contributes shaded cells to its left. The six step words have total shaded areas .
Figure 1.
The six lattice paths counted by , weighted by the number of shaded cells
. Original exact enumeration of paths with two north and two east steps. Reading shaded row lengths from top to bottom gives a partition in a rectangle. Equal-sized diagrams contribute to the same coefficient. Details.
This is useful because an aggregate count can hide the feature one actually wants. A generating function retains the distribution of a statistic, so coefficient extraction answers questions such as “how many allowed diagrams contain exactly two cells?” The partition interpretation of Gaussian binomial coefficients makes every coefficient a nonnegative integer without relying on cancellation in the product formula.
An unexpected second use comes from linear algebra. If is a prime power, the value counts the -dimensional vector subspaces of . Thus the same expression that counts six paths at counts 35 two-dimensional subspaces of at . The Gaussian binomial coefficient counts finite-field subspaces article explains why selecting a vector subspace differs from selecting a subset of coordinates. [ref]
This relationship illustrates a q-analogue: the parameter can encode a statistic in one interpretation and the size of a finite field in another. Here denotes the formal variable, while denotes a finite field's cardinality when we evaluate the polynomial. The interpretation using a finite field requires to be a prime power; evaluating the polynomial at an arbitrary number does not construct a field of that size.
For a prime power and , count ordered lists of linearly independent vectors in . The first has choices. After independent choices, their linear span contains vectors, so the next has choices. Every -dimensional vector subspace has exactly ordered bases. Dividing the list count by this common multiplicity gives
The notation refers to the Grassmannian, here considered simply as the finite collection of these vector subspaces.[ref]
For , there are ordered independent pairs. Each two-dimensional vector subspace has ordered bases, leaving vector subspaces. There are only coordinate-selected vector subspaces; most of the 35 also contain vectors combining coordinates.
A unique reduced row echelon form gives another count. Its six possible pivot-column patterns have freely chosen entries. Each free entry lies in , giving vector subspaces, respectively. The diagram fixes the zero entries required to make each pivot the first nonzero entry in its row and the only nonzero entry in its column. Different choices describe different row spaces.
Figure 1.
The six reduced row echelon form pivot patterns give 35 two-dimensional vector subspaces of
. Original exact matrix-pattern enumeration. A star is a freely chosen finite field entry, while every displayed zero or one is fixed. Pivot columns are numbered from one in this image. Details.
Inverse totient problem 2026-10-20
Given a positive integer , find all positive integers satisfying . For every prime divisor of a solution, divides , so the possible primes lie in the finite set . Search can then combine the prime powers whose totient contributions multiply to .
Min_25 sieve 2026-10-20
A family of algorithms for summatory multiplicative functions that first computes suitable sums over primes at quotient values and then incorporates prime powers. The required prime-sum formulas and complexity depend on the particular multiplicative function.
Möbius function Created 2026-09-24 Updated 2026-10-13
The Möbius function assigns a cancellation weight to each positive integer:
Thus a squarefree integer contributes a sign determined by its number of distinct prime factors; a repeated prime factor makes the weight zero. This packages the alternating signs of inclusion-exclusion into an arithmetic function. [ref]
For example, , , and , since . In contrast, : all three have the square of the prime number as a divisor. On prime powers, and for .
The Möbius function is a multiplicative function: for coprime integers, their prime factors are disjoint, so either a squared prime factor forces both sides of to vanish, or the counts of distinct prime factors add and their signs multiply. It is not a completely multiplicative function, since . Its Möbius divisor-sum identity makes it the inverse of the constant-one arithmetic function under Dirichlet convolution: , the Identity for Dirichlet convolution. This is why the small set of weights can undo an entire divisor sum.
Multiplicative function Created 2026-10-13 Updated 2026-10-20
An arithmetic function is a multiplicative function when and for all coprime integers , meaning their greatest common divisor is . The condition excludes the identically zero function. This definition makes no assertion about a pair whose greatest common divisor exceeds . [ref]
For the divisor function, the integer divisors of are , those of are , and those of are . Hence
Here and are coprime integers. In contrast, , because the integer divisors of are . Thus the divisor function is a multiplicative function but not a completely multiplicative function.
The practical gain is that prime factorization reduces all values to values at prime powers. For distinct prime numbers and positive exponents ,
For instance, since and are coprime integers; replacing by additionally requires a completely multiplicative function. The short proof repeatedly applies the defining rule to prime powers belonging to different prime numbers, which are coprime integers.
Multiplicativity of an arithmetic function Created 2026-10-06 Updated 2026-10-14
For an arithmetic function, multiplicativity means and whenever are positive coprime integers. It allows values of an arithmetic function to be assembled from its values on prime powers, as explained under multiplicative function.
Write for the Chebyshev theta function and for the Second Chebyshev function, where is the Von Mangoldt function. We first establish the Chebyshev estimate. Every prime divides the central binomial coefficient , so
Apply this at successive powers of two and use monotonicity to obtain . Since
the terms contribute and therefore . This Chebyshev estimate from central binomial coefficients is all the information about the distribution of primes needed here.
The Von Mangoldt divisor identity gives the factorial proof of Mertens first theorem. With , interchange the finite sums to obtain
Comparison of with gives . Dividing the preceding identity by , using and the Chebyshev estimate, gives
The contribution of higher prime powers is bounded independently of , because
Thus the Mertens first theorem is
For the square-root logarithmic sum over primes, apply partial summation to with weight . The lower endpoint is understood as , so
The main terms are and . The bounded error in produces a bounded integral, since . Therefore
Neither argument uses the Prime number theorem.
First alternative. The Euler product of the Riemann zeta function is absolutely convergent for . Its logarithm and the nonnegative trigonometric polynomial
give
Consequently . Suppose and the Riemann zeta function had a zero of order at . As , its simple pole at one gives , the alleged zero gives , and remains bounded. The product would be , contradicting its lower bound. Thus there are no zeta zeros on ; the point itself is a pole, not a zero.
For the first integral of the Chebyshev function, define
The logarithmic derivative identity , valid for , leads to
To verify the kernel rather than assume an inversion formula, integrate on the vertical line . Closing to the left when gives the residues at zero and minus one, namely ; closing to the right when gives zero. At the integral is zero as well. The horizontal integrals tend to zero because of the quadratic denominator, and the distant vertical integrals vanish in the indicated direction. Multiplying this kernel by with gives . The absolute convergence of the Dirichlet series on , together with the integrable denominator, permits interchange with the integral and proves the formula.
Here is a quantitative contour route from this relation to the Prime number theorem. Question 3 establishes a zero-free region of the Riemann zeta function and the accompanying bounds for its logarithmic derivative, independently of the Prime number theorem. In a sufficiently narrow half-width region they imply
on the left and horizontal sides of the rectangle with heights and left edge , after making small enough also for bounded heights. The explanation of this bound is included at the end of Question 3. Take and . On the original line, the omitted tails are
since the Euler product bounds by . Shift the truncated integral to the left edge. The only enclosed pole is at , with residue ; the kernel poles at zero and minus one lie outside the rectangle. The left edge contributes , since there. The two horizontal edges contribute . In particular, for some ,
It remains to remove the smoothing; differentiating an asymptotic formula would not justify this step. The monotonicity of the Second Chebyshev function gives, for with ,
First let with fixed. After division by , the lower and upper bounds tend to and . Let to obtain . Higher prime powers contribute by the Chebyshev estimate, so . Finally partial summation gives
The integral is , by splitting at and using . This proves the Prime number theorem with .
Second alternative. We prove the functional equation of the Riemann zeta function from a theta function. Set for . With Fourier transform convention , the Gaussian function has
Indeed, differentiation under the integral and integration by parts give , while the Gaussian integral gives . Periodize : the smooth period-one function has Fourier coefficients , by integrating on and interchanging its absolutely convergent sum with the integral. Its absolutely convergent Fourier series, evaluated at zero, proves the Poisson summation formula in this case. Hence
For , termwise integration and the defining integral of the Gamma function give the Mellin representation of the completed Riemann zeta function:
Split at one and substitute in the lower integral. The elementary part is
and the remaining part becomes an integral over . Thus
The integral is an entire function of , because decays exponentially and uniform convergence holds on every compact subset of the complex plane. This proves meromorphic continuation of the completed Riemann zeta function, with only the displayed simple poles, and the right side is invariant under . Therefore
The Gamma reflection formula and Gamma duplication formula give the equivalent form , understood by meromorphic continuation. Multiplication by gives the entire Riemann xi function .
Let count positive ordinates of Nontrivial zeros of the Riemann zeta function up to height , including multiplicity. The Riemann–von Mangoldt formula is
More precisely, away from ordinates of zeros, the constant term is , the additional term is , and the remaining error is . Here the argument is continued along , and . The coarse formula displayed above holds at all large heights with the usual right-continuous counting convention. Subtract it at and : the main term changes by and each error is . Hence
For infinitely many reciprocal-logarithmic gaps between zeta zeros, fix any , for example . Suppose all sufficiently late gaps satisfied . Summing and using
gives . The last elementary estimate follows by integral comparison with and one integration by parts. The Riemann–von Mangoldt formula would imply
a contradiction. This reasoning is valid whether repeated ordinates are listed according to multiplicity or only distinct ordinates are listed, since in either case . Consequently infinitely often, for any fixed .
Write for the Chebyshev theta function and for the Second Chebyshev function. Throughout, denotes a prime and all logarithms are natural. Each prime divides the central binomial coefficient, so
Apply this at and telescope: . Bounding a general by the next power of two proves . Splitting the prime-counting function at now gives
This is the required Chebyshev estimate from central binomial coefficients, with no use of a prime asymptotic.
The higher prime powers also satisfy
For an integer , the prime factorization of a factorial gives
The Stirling formula, or integral comparison for , says . After division by we obtain . Moreover
Subtract this bounded contribution and replace by . The factorial proof of Mertens first theorem therefore yields
For fixed , apply partial summation to and :
The main contribution is
The bounded error in contributes at the endpoint and in the integral, since . Thus the positive logarithmic moments of reciprocal primes satisfy
The permitted zero-count bound implies, by partial summation,
Indeed, the zeros with contribute a bounded amount since ; the rest contribute . For every zero in the sum, the preceding zero-free region of the Riemann zeta function gives
The supplied truncated explicit formula for the second Chebyshev function therefore implies
Choose , with any fixed positive and then, for example, . Both terms have exponential decay in , and the logarithmic factors can be absorbed by slightly decreasing its coefficient. Hence, for some absolute ,
If the truncated formula is taken only at admissible heights and non-prime-power endpoints, choose such heights of the same size and first apply it at half-integers. Monotonicity and the jump of at an integer transfer this bound to all ; these convention choices do not change the conclusion.
To pass from prime powers to primes, let . The higher prime-power contribution satisfies
Thus . Apply partial summation again:
The integral is : use and split at . It is therefore smaller than the first term, which is asymptotic to . This proves the Prime number theorem in the requested form
The Von Mangoldt function is supported on prime powers:
Write . A convenient form of the Siegel–Walfisz theorem is: for every fixed , uniformly for and ,
The implied constant can be ineffective because of possible Siegel zeros; the modulus bound is logarithmic, not an unrestricted uniformity assertion.
Apply this to modulus five and separate the reduced residue classes:
The last sum is : only powers of five can contribute in the zero residue class. By the orthogonality of roots of unity,
since two is coprime to five and the sum including vanishes. As , the Siegel–Walfisz theorem yields
The sum is complex-valued, but the displayed error controls its absolute difference from the real main term.
Write and for the two Chebyshev functions, and for the prime-counting function. If , the prime divides the central binomial coefficient . Consequently
Sum this inequality over dyadic integers . It gives . Monotonicity, with , gives for real . This is the Chebyshev estimate from central binomial coefficients; no information about the distribution of primes beyond unique factorization has been used.
Split the primes at . For , , so
Since ,
We also need . The contributions of higher prime powers satisfy
because only contribute, and for .
The Von Mangoldt divisor identity is , which follows by factoring into prime powers. Summing it for , with a positive integer, gives
The bound already proved makes the last error . Integral comparison for , or the Stirling formula, gives . Therefore
The contribution from higher prime powers is uniformly bounded:
Subtract it, and replace by , to obtain the Mertens first theorem
Now fix . Apply partial summation to and . With the lower endpoint interpreted as , so that the prime is included, this gives
The boundary term tends to zero, and the integral converges, since and . Thus the series converges for every positive . Keeping the main term of also gives the useful logarithmically weighted reciprocal-prime tail
Indeed, subtract the finite partial sum from the limiting integral: the boundary contributes and the main integral contributes .
For , the absolutely convergent logarithm of the Euler product for the Riemann zeta function is
The elementary identity therefore gives
Thus the expression inside the logarithm is at least one. The Meromorphic continuation of the Riemann zeta function to the right half-plane has only a simple pole at one, of residue one. It follows, for example, from
whose integral is holomorphic there.
Suppose and has a zero of order at . As , the real factor is , the middle factor is , and the factor at is bounded. Their product would tend to zero, contradicting its lower bound one. Hence
At there is a pole, not a zero; the statement about the line does not assert a finite value for . This proves the three-four-one product proof of zeta boundary nonvanishing.
To relate the Second Chebyshev function to the logarithmic derivative, differentiate the Euler product in its half-plane of absolute convergence:
Since , its first integral of the Chebyshev function is
For any fixed , its Mellin inversion formula is
For justification, the elementary contour kernel is for and zero for . Close left or right and take the residues at zero and minus one; at the continuous value is zero. Absolute convergence on allows termwise integration of the Dirichlet series, and multiplying this kernel by gives .
Here is how the relation yields the asymptotic. Move the contour to the left, using the functional equation of the Riemann zeta function to control the left-hand side. The residue at is , and a Nontrivial zero of the Riemann zeta function contributes , multiplied by its multiplicity. The kernel poles at zero and minus one contribute and ; a trivial zero of the Riemann zeta function contributes . Thus the smoothed explicit formula for the Chebyshev function is
For the contour argument, use heights avoiding the zero ordinates and then let those heights increase. The local zero bound from the Riemann–von Mangoldt formula, together with the Local partial-fraction expansion of the Riemann zeta logarithmic derivative, permits heights with logarithmic-derivative bound in each fixed vertical strip. The horizontal integrals then vanish because the denominator is of size . After that, send the left edge through negative odd integers to minus infinity; the functional equation of the Riemann zeta function bounds the logarithmic derivative there by a logarithm, and makes the left integral vanish for fixed . This explains why this smoothing allows a convergent contour calculation without a quantitative zero-free region.
In fact the Riemann–von Mangoldt formula, stated in the next solution, gives and hence
The Nontrivial zeros of the Riemann zeta function satisfy , using the Euler product, the functional equation of the Riemann zeta function, and the nonvanishing just proved. For each such zero, as , whereas for . The dominated convergence theorem therefore makes the absolutely convergent zero sum, divided by , tend to zero. All the other displayed terms are . We obtain
It remains to unsmooth; differentiating an asymptotic without justification would not suffice. Monotonicity of gives, for fixed ,
Divide by and use the integral asymptotic. The lower and upper limits lie between and . Letting proves . Higher prime powers contribute , as in the first solution, so . Finally partial summation gives
The integral is , by and splitting at . Hence
which is the Prime number theorem.