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 is
The 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 , since
Thus Markov inequality gives vanishing probability on every diverging scale:
For coprime integers , the multiplicative order is the smallest positive exponent
It exists because multiplication by is an element of the finite group of units modulo an integer. For the example, the successive residues are
None of the first three is one, so the order is four.
The factor extraction from an even modular order uses the factorization . If the multiplicative order is even, put . Minimality of the multiplicative order excludes ; we also require . Thus is a nontrivial square root of one. Neither nor is divisible by all of . If either were coprime to , its inverse modulo , applied to , would make the other divisible by , a contradiction. Hence the greatest common divisors
are proper nontrivial factors. For odd , and have no common prime divisor of , so these two divisors are complementary. If the initial is not coprime to , a proper already supplies a factor without quantum order finding.
For and , and , which is neither nor . The factors are
The necessary conditions for this order-based reduction are a unit , even true multiplicative order, and .
Use the positive-exponent quantum Fourier transform convention . The period of a function here is the least positive translation leaving the function unchanged on the cyclic group . The injective promise means exactly when . In particular : the subgroup of period translations is generated by , and wrapping the argument by preserves its value. This is exact quantum period finding on a finite cyclic group, rather than the truncated, nondividing-period version requiring continued fractions.
Prepare a uniform superposition state in the first quantum register using , and perform a reversible computation of the function into a second quantum register, cleaning its workspace by uncomputation:
A quantum measurement in the computational basis of the second quantum register leaves a periodic coset state in the first:
For the quantum Fourier transform of this periodic coset state, the finite geometric series vanishes unless the measured label is . On those labels its normalized amplitude is . Thus has the uniform distribution on a finite set on , irrespective of .
Compute the greatest common divisor by the Euclidean algorithm, and set , with . Since ,
The exact period recovery from a Fourier sample is therefore certified by testing . Every candidate divides and lies between and , so the injective promise makes that equality equivalent to . This includes , where the test uses input , and , which always succeeds. The test does not assert that an arbitrary equality of function values certifies an arbitrary period; the Fourier-derived divisor restriction is essential.
The concise result is
Here is the Euler totient function, with . The totient lower bound from the Mertens product gives for . Each trial uses polynomial time quantum Fourier transforms, function evaluations and Euclidean algorithm arithmetic in . Repeating independent trials gives constant success probability; the herald accepts only correct answers.
The printed asymptotic bound has the wrong direction for this argument. In Big O notation, the stated upper bound on the number of coprime integers supplies no success lower bound and is itself false uniformly: for prime , , not . Likewise the single-trial success need not be , since it tends to one for prime. The meaningful corrected guarantee is the lower bound above. If an upper-bounded success rate is literally required, one may deliberately retain an accepted result with an independent probability proportional to ; this discards useful successes and is unnecessary for efficient recovery.
For pairwise coprime integers , put . The Chinese remainder theorem states that reduction gives an isomorphism
Equivalently, every system has one solution modulo .
For existence, let . Since , choose with . Then
has every required residue: modulo , all terms except the th vanish and the remaining term is . For uniqueness, if and have the same residues, every divides . Pairwise coprimality then makes divide . Thus the simultaneous solution exists and is unique modulo .
An arithmetic function is multiplicative if whenever and are coprime integers. If and , every positive integer divisor of is uniquely with and . Hence
so is multiplicative.
The Möbius function is defined by , if the square of a prime number divides , and if is a product of distinct prime numbers. Coprime integers have disjoint sets of prime factors, so this definition immediately gives when .
For , only the square-free divisors contribute, and therefore
For the sum is . Thus in the language of Dirichlet convolution. Convolving with gives the Möbius inversion formula
If , its divisor sum is the sum-of-divisors function. Conversely, if , Möbius inversion gives
using the standard divisor identity for the Euler totient function. Therefore the two requested answers are
The Chinese remainder theorem says that if the positive integers are pairwise coprime and , then for arbitrary residue classes there is a unique residue class satisfying
Equivalently, reduction is a ring isomorphism
For existence, put . Pairwise coprimality gives , so Bézout's identity supplies an integer with . Then
has the required residues, because every term except the th is divisible by . If and are two solutions, each divides . Pairwise coprimality then implies that their product divides , proving uniqueness modulo .
The multiplicative order of modulo is the least positive integer such that
It exists because and are coprime integers.
Suppose that is even and
The minimality of also gives . Since
the factor extraction from an even modular order yields
as a nontrivial factor of ; equivalently one may also compute . Thus the required conditions are that be even and that .
An arithmetic function is multiplicative when and whenever and are coprime. If and are coprime, every divisor of has a unique factorization with and . Hence the Dirichlet convolution of multiplicative functions satisfies
and , so it is multiplicative.
Let be the identity for Dirichlet convolution, with and for . The Möbius function satisfies . Therefore, using commutativity and associativity,
This is the Möbius inversion formula.
The Möbius function is defined by and, for ,
It is a multiplicative arithmetic function: whenever and are coprime.
The summand is multiplicative, so its divisor sum is multiplicative. For a prime power with , only contribute and
Multiplying these local identities over the prime divisors of gives
For the final claim, choose distinct primes . The moduli are pairwise coprime, so the Chinese remainder theorem gives an integer satisfying
Every positive integer then has . Hence
There are infinitely many positive representatives of this congruence class.
If and are coprime, every divisor of is uniquely with and . Hence, for a multiplicative arithmetic function ,
The Möbius function is if a prime square divides , and if is a product of distinct primes. The Euler totient function counts residues modulo coprime to . From the prime factorizations,
Both sides of the second identity are multiplicative, and at a prime power ,
Therefore
The Dedekind factorization theorem says that, when a rational prime does not divide the index of an order , a factorization
of the minimal polynomial modulo gives
Let with square-free , and let be odd. The resulting splitting of rational primes in a quadratic field is:
Finally suppose and
has norm , with integers
chosen coprime. Then
If an odd ramified, then . Reduction modulo gives
. Since is not a square modulo such a prime, . Dividing the equation's divisibility shows as well (use that square-free has -adic valuation one), contradicting coprimality. Hence no prime ramifies.
Start two registers in . Apply to the first and then reversibly evaluate into the second, obtaining
The evaluation can be implemented by repeated squaring and reversible modular multiplication using a number of elementary arithmetic operations polynomial in .
Measure the second register. Because is injective within one period and , the first register becomes a uniformly weighted periodic coset
The quantum Fourier transform of a periodic coset state followed by measurement returns
Reduce the rational number to lowest terms. Since
its denominator is . Test whether by repeated squaring. The promised injectivity means that is the least positive period, and , so this congruence holds exactly when . The test therefore certifies whether the run succeeded; this is heralded exact quantum period finding when the period divides the register size.
One run succeeds with probability
because success is equivalent to being coprime to . A standard estimate for the Euler totient function gives for all sufficiently large , with the finitely many smaller cases absorbed by changing the positive constant . Repeating independently times therefore makes the probability that every run fails at most . Every step, including the repetitions and the classical verification, takes time polynomial in .
Suppose that the positive integer is a decisive number. For every prime number , the composite number satisfies . It therefore cannot be coprime to , so .
The product of all prime numbers below consequently divides . Taking natural logarithms gives
Changing the strict endpoint can remove at most one prime term. By part b, for every sufficiently large the right-hand side is at least, for example, . This is impossible for sufficiently large , since
Thus every decisive number lies below one fixed bound, and only finitely many integers can do so.
Reduced fraction Created 2026-10-06 Updated 2026-10-07
A reduced fraction has coprime integers and positive denominator . Distinct reduced fractions with denominators at most differ by at least , since their difference has a nonzero integer numerator over a denominator at most .
The two-isogeny descent quartics associated with square classes and on have no rational points. A rational solution can be scaled to integral with coprime integers . If is odd, reduction modulo sixteen gives or for the positive class, and or for the negative class; none is a quadratic residue. If is even, then is odd and the right side is , with the same sign on the two signed terms. The bracket is odd, so its 2-adic valuation is exactly five, impossible for a nonzero square. These two parity cases exhaust primitive solutions.