True. First suppose with maximal. By the Chinese remainder theorem, choose and modulo all other prime-power factors. This is a unit, with Jacobi symbol one, because it is one modulo every prime. For , the binomial theorem gives
because and all higher terms contain . It is therefore a witness to the desired failure.
If is square-free and composite, it has at least two prime factors. Choose to be a quadratic nonresidue at one prime and one at every other prime, again using the Chinese remainder theorem. Then . At a different odd prime , however, . These two cases prove that every odd composite has an Euler-Jacobi witness, unlike the situation for the ordinary Fermat primality test.
Multiplying the desired representation by turns it into the integer equation
Since and are coprime integers, the necessary modular multiplicative inverses exist. Choose the unique representatives
Then is divisible by both and , hence by their product, because they are coprime. Defining
therefore gives an integer and proves existence. Any other representation, reduced modulo and , must have the same and , since their allowed ranges contain exactly one representative of each residue. The integer equation then forces the same . This proves uniqueness.
For the prime-power fraction decomposition, put and . The distinct prime-power factors are pairwise coprime, and has a modular multiplicative inverse modulo . Define
Every term with is divisible by , while . Thus is divisible by all the pairwise coprime and therefore by . With , division by yields the required representation. Reducing any such representation modulo each proves uniqueness exactly as above. This is the residue-solving mechanism of the Chinese remainder theorem.
For , the complementary factors are . The required modular inverses give
because , , and . Their numerator sum is . Thus the unique decomposition is
A fibre product of schemes has projection morphisms to and with equal composites to , and for every scheme the induced map is a bijection
This universal property determines uniquely up to unique isomorphism. On affine charts over , take
The tensor product of commutative algebras has the required universal property for ring maps. Localization identifies these constructions on principal-open overlaps. Cover the base and its two inverse images by affine charts and glue the resulting affine products along those overlaps; their local universal properties give the global one.
For a counterexample to preservation of irreducibility, take and with their usual structure morphisms. All three are integral schemes, but the Chinese remainder theorem gives
The product scheme is the disjoint union of two points, so it is not irreducible.
For , the displayed integral equation has nonzero elliptic-curve discriminant modulo , so it has good reduction. Let be the Legendre symbol, with . Counting the two, one, or zero possible ordinates over each gives
If , then and the terms for and cancel. The term at zero vanishes. Thus the count is .
For the converse, suppose , and put . The Euler criterion and the sum of powers over a finite field show that the Trace of Frobenius satisfies
Indeed, among the positive exponents in this polynomial, of degree , only has a nonzero sum over , and that sum is . Since , the coefficient formula for trace of Frobenius modulo p yields
Neither nor the binomial coefficient vanishes modulo . Hence , proving the point-count criterion for y squared equals x cubed plus k x:
We use the following formal logarithm fact, also useful for the next part. For a formal group law over , its logarithm has coefficients with , obtained by integrating its integral invariant differential. If is odd and , every term of degree has valuation strictly greater than , since . Thus the logarithm converges and is nonzero at . Its homomorphism into the additive characteristic-zero group proves torsion-freeness of the formal group over Qp for odd p. Consequently reduction injects the entire rational torsion subgroup at any odd prime of good reduction, including its -primary torsion. In particular the torsion subgroup is finite, and its order divides at every good .
By the Dirichlet theorem on primes in arithmetic progressions, choose a good prime . Then , bounding the two-primary part by four. For any odd prime dividing the torsion order, the Chinese remainder theorem and the Dirichlet theorem on primes in arithmetic progressions give a good prime with and , avoiding the finitely many primes dividing . But then , a contradiction. Therefore
The order four does occur. For , the elliptic-curve addition formula gives , so has order four. More precisely, the only nonzero rational 2-torsion point when is , so order four means a cyclic group with a rational half of this point. The duplication formula is
Such a half must have . Writing , positivity of forces . Then , so is a rational square, equivalently for an integer . Conversely is a half of when . The rational torsion on y squared equals x cubed plus positive k x is therefore cyclic of order four exactly for these , and otherwise cyclic of order two.
First establish rational conjugation of finite-index modular subgroups without assuming that is a congruence subgroup. Multiply by a positive integer to obtain an integral matrix , and let . Conjugation is unchanged by this scalar. If , then
Thus the principal congruence subgroup is contained in . It has finite index because reduction modulo has finite image. Inside , pullback under conjugation of has relative index at most . Consequently
This argument does not assert that an arbitrary finite-index subgroup contains a principal congruence subgroup.
Use the determinant-normalized slash operator
The positive real power of the determinant is used; on this reduces to the usual slash operator for modular forms. The automorphy factor identity gives the right-action rule .
A modular form on a finite-index subgroup of integer weight is a holomorphic function on the complex upper half-plane, invariant under this weight- action of , and holomorphic at a cusp at each of its cusps. A cusp of a modular group is a orbit in . If carries infinity to its representative, choose a positive integer with . Such exists by finite index. Then is periodic and has a convergent expansion in near zero; holomorphy means no negative exponents, and being a cusp form means zero constant term. Using an actual translation period avoids possible signs if a smaller width of a cusp is defined only modulo the center, particularly in odd weights.
For cusp holomorphy under rational slash operators, choose with , possible by completing a primitive integer pair to a determinant-one matrix. Then , with . Up to a nonzero constant factor,
The imaginary part of the argument tends to infinity with that of , so this remains bounded by the cusp expansion of . It tends to zero if is a cusp form. Moreover is invariant under : for , and the right-action rule applies. Finite index gives a translation period for , so boundedness is a removable singularity at zero in that periodic parameter. This proves holomorphy at infinity. For every other cusp, apply the same argument to the rational matrix , with . Thus all cusp conditions hold, and
For the character twist by rational translations of a cusp form, put and . For , direct conjugation gives
Indeed and . Every is therefore -invariant and vanishes at all its cusps by the preceding rational-translate argument. Their finite weighted sum is a cusp form, for every Dirichlet character:
There is, however, a missing primitivity hypothesis in the printed final expansion claim. The exact Fourier expansion of a modular form is always
Values of a Dirichlet character on units have modulus one, so . For unit , substitution gives , where is the Gauss sum of a Dirichlet character. For nonunit , this vanishing formula requires a primitive Dirichlet character.
Here is its proof in that case. Choose a prime . Primitivity supplies a unit with : otherwise the character would factor through the surjective reduction to units modulo . Surjectivity follows by lifting a unit and, if needed, adjusting the lift to avoid the additional prime , using the Chinese remainder theorem. Multiplication by fixes because , but multiplies the character factor by a nontrivial constant. Hence . The finite Fourier transform of a primitive Dirichlet character now gives the corrected formula
The constant is nonzero: finite exponential orthogonality gives , whereas the proved formula makes this . Thus .
For a concrete counterexample to the printed unrestricted claim, take , the principal Dirichlet character, and . The translation sum is , whose coefficient is . Any constant multiple of the proposed odd-index-only series has coefficient zero. Thus the general modularity conclusion is proved, while the claimed simplification is false without the stated extra hypothesis.
In the RSA cryptosystem, choose distinct large prime numbers , set , and choose coprime to . Choose with . A plaintext residue class is encrypted as and decrypted as . Fermat's little theorem modulo and , followed by the Chinese remainder theorem, proves correctness even when is not coprime to .
Textbook RSA cryptosystem is multiplicative: . For a chosen-ciphertext attack, multiply an intercepted by for a known invertible . A decryption oracle returns , from which multiplication by recovers . Likewise, multiplying two textbook RSA signatures produces a signature of their product. These are homomorphism attacks, exploiting algebra rather than factoring .
For an ElGamal signature, choose a prime , a primitive root modulo , a private exponent , and public . To sign a message digest , choose a fresh secret coprime to and set
Verification checks and , which follows because . Authenticating the ciphertext and its context with such a digital signature, before decryption, prevents the simple multiplicative modification from being accepted without a fresh valid signature. One needs an appropriate cryptographic hash function and fresh secret cryptographic nonces: this is not a claim that every algebraic attack is impossible. In particular, the unhashed historical ElGamal signature scheme admits existential forgeries of specially chosen message exponents; mere multiplication of encrypted messages is not an authentication mechanism.
Let be a Dedekind domain. The zero ideal is generated by , and is generated by , so consider a nonzero proper ideal . Choose . We use these consequences of the unique factorization of ideals in a Dedekind domain: every nonzero ideal has finitely many nonzero prime-ideal valuations in a Dedekind domain; containment reverses the valuations as in part (b); and
The last formula follows from the containment rule: is the smallest ideal containing both and , and the product with the indicated minimum exponents is exactly that ideal.
Let be the finite set of prime ideals dividing . For each , set . Since , we have . The containment rule also gives , so choose
Distinct nonzero prime ideals of are distinct maximal ideals and hence comaximal ideals; their positive powers are also comaximal. Indeed, if with , , for positive integers expanding shows , since each term contains either at least factors of or at least factors of . We use the Chinese remainder theorem in its ideal form: for pairwise comaximal ideals , the map is surjective. Apply it to the powers to choose with
Then belongs to and satisfies for every . Thus , whereas , proving .
For , therefore,
For , , and forces as well. Hence and have the same valuation at every nonzero prime ideal. Uniqueness of their factorizations gives
This proves two generators for an ideal in a Dedekind domain; in fact the first nonzero generator can be chosen in advance.
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 .
Choose distinct primes . The moduli are pairwise coprime, so the Chinese remainder theorem supplies an integer satisfying
Consequently
so but . By the definition of a squarefull number, is therefore not squarefull. Adding a sufficiently large multiple of makes positive without changing any congruence. The integers are the required consecutive integers.
An odd composite coprime to is a Fermat pseudoprime to base when . It is a Carmichael number when this congruence holds for every coprime to .
Suppose a Carmichael number has with . The group is cyclic, so choose a residue of order
By the Chinese remainder theorem, extend it to an integer that is congruent to modulo every other prime-power factor of . Then , and the Carmichael congruence forces the order of modulo to divide . In particular , contradicting . Therefore every Carmichael number is square-free.
Now assume is square-free. If for every , then for every coprime to , Fermat little theorem gives
for each . The Chinese remainder theorem then gives the congruence modulo , so is Carmichael.
Conversely, if is Carmichael, fix . Choose a primitive root modulo and use the Chinese remainder theorem to choose and . Then , so the order of divides . This proves the Korselt criterion in the required form:
A Carmichael number cannot have one prime factor because it is composite. If with distinct primes , the condition implies , which is impossible. Hence every Carmichael number has at least three prime factors.
Since and , the two linear congruences reduce to
Write . The second congruence becomes
or after division by three. Since , . The Chinese remainder theorem therefore gives the complete family
The modulus is because the compatibility condition modulo their greatest common divisor is satisfied.
The prime ideal factorization of is
which defines the ramification index of a prime ideal . The residue-field degree is
Localizing at makes a free -module of rank , so has dimension over the residue field . The Chinese remainder theorem and the filtration by powers of each decompose this vector space into successive quotients isomorphic to , each of dimension . Therefore the fundamental identity for prime decomposition gives
If is a prime ideal of the commutative Artinian ring , then is an Artinian domain. For , the descending chain stabilizes, so for some ; cancellation gives . Thus is a field and is maximal.
There are only finitely many maximal ideals. Otherwise, distinct maximal ideals are pairwise comaximal and their finite products give the strictly descending chain
contradicting the Artinian condition. This proves the statement about the prime ideals of a commutative Artinian ring.
The nilradical is the ideal of all nilpotent elements, equivalently the intersection of all prime ideals. Its powers stabilize, say . If , choose an ideal minimal subject to , then choose with . Since , minimality gives , so for some . But is nilpotent, hence is a unit, contradicting . Therefore the nilradical of a commutative Artinian ring is nilpotent.
If the maximal ideals are , the Chinese remainder theorem gives
a finite product of fields. Each layer is an Artinian module over this product and therefore finite-dimensional. Since is nilpotent, these finitely many layers show that every ideal of is finitely generated. This proves the Artinian commutative ring is Noetherian theorem.
Now assume is local with maximal ideal and . The Nakayama lemma gives . Since is nilpotent, its powers form a finite chain ending in zero. For a nonzero ideal , choose the largest with and take . Write ; then , so is a unit. Hence
and every ideal of is principal.
Finally, the Artin–Wedderburn theorem says that a finite-dimensional semisimple -algebra has the form
where each is a finite-dimensional division ring over ; the factors are unique up to permutation and isomorphism. By the assumed complete reducibility, write the right regular module as
with pairwise nonisomorphic simple right modules . The Schur lemma says that is a division ring and that homomorphisms between distinct vanish. Left multiplication and the endomorphism ring of the displayed direct sum therefore give
Conversely, the regular module of is a direct sum of simple column modules, proving that every algebra on the right is semisimple. Uniqueness follows from uniqueness of the simple summands and their multiplicities.
Let
and let be the product of the finitely many primes at most or dividing some nonzero difference . Sieve with the primes . For such a prime, the congruence has exactly distinct roots. By the Chinese remainder theorem, the root-counting function is multiplicative on squarefree coprime to , and
Thus the polynomial root density in a sieve applies with
Take and . For squarefree coprime to ,
The supplied mean-value estimate, partial summation, and removal of square factors using give
The error in the Selberg upper-bound sieve is
Consequently
If every is prime and all of them exceed , then has no prime divisor with , apart from a fixed finite set of divisibility cases absorbed into the implied constant. The cases with some contribute . Therefore
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 Euler totient function is the number of residue classes modulo that are coprime to . The Chinese remainder theorem says that for pairwise coprime moduli , reduction induces a bijection
It restricts to a bijection of unit groups. If is squarefree, then
Each of the primes is one more than a power of two, so every squarefree product of them has power-of-two totient. Ten odd examples are
An integral positive definite binary quadratic form
is reduced when
with when or . Its discriminant is .
For , reduction gives , so or . Since , is even. If , then forces , and . If , then ; integrality of
leaves and , and the boundary convention retains only . Hence the complete list is
Now suppose the prime is represented by . If , the equation is impossible modulo four, so is odd. The integers and then have opposite parity, and therefore
Also , since otherwise ; hence
The Chinese remainder theorem gives the stronger conclusion
In particular,
as required.
Put . The odd integer is an Euler pseudoprime to the coprime base when
where is the Jacobi symbol.
Let be the unit group of residue classes modulo , and partition it into the set of bases satisfying the displayed congruence and the set of Euler witnesses that do not. If , multiplication by maps injectively into : indeed, if and also lay in , then the multiplicativity of the Jacobi symbol would give
Cancelling the invertible congruence for would say that , a contradiction. Hence , so at least half of the coprime bases are witnesses.
It remains to construct one witness for every odd composite number . If is not squarefree, choose an odd prime number with . The Chinese remainder theorem gives a unit such that for the full power and modulo every other prime-power factor. The binomial theorem gives
Since , this is neither nor modulo , whereas the Jacobi symbol is always or . Thus is a witness.
If is squarefree and composite, choose distinct primes . By the Chinese remainder theorem, choose to be a quadratic nonresidue modulo and to satisfy modulo every other prime divisor of . Then , while , so the Euler congruence again fails. This proves the existence of an Euler witness for every odd composite integer.