Write and use the determinant-normalized slash operator
The automorphy factor identity proves , and positive scalar matrices act trivially. Let be all integral matrices of determinant . It is stable under left and right multiplication by . Its left orbits have unique representatives
Indeed Bézout's identity reduces the first column to , the determinant fixes , and a row shear reduces modulo . These are the determinant-n matrix representatives for Hecke operators. For composite , can contain more than one double coset; keeping every integral matrix, including nonprimitive ones, is essential.
Define the Hecke operator by
Changing a representative on the left leaves its summand unchanged. Right multiplication by permutes left orbits of , so the result satisfies the weight- transformation law. Each summand is holomorphic. Its expansion at infinity is bounded, and vanishes there when is a cusp form; the group has just one cusp class. Therefore preserves both and , and is the identity.
For a Fourier expansion , the sum over vanishes unless . Substitute and then collect the coefficient of to obtain the Fourier coefficients of a composite-index Hecke operator:
Here , so the constant coefficient is ; at it is . This proves preservation of integral coefficients. At a prime,
with if .
We can prove the entire Hecke multiplication relations directly, not just quote them. On formal power series put and . Although these individual operators need not preserve level one, and the coefficient formula gives
Multiply on the left by . In the first part the term is ; every reduces by to . The second part, together with the term, is . The remaining sum is . Thus
For coprime indices, the coefficient divisors split independently in the displayed formula, proving when . Induction with the prime-power recurrence gives . Combining the primes proves
In particular the modular Hecke algebra is commutative and is generated by the prime operators.
For cusp forms the Petersson inner product is
Cusp decay makes it finite and positive definite. The Hecke operators are self-adjoint for the Petersson inner product. To see the change-of-variables mechanism, fix a double coset and put . Representatives of give left representatives . Unfolding the sum in changes the integral over to the integral over of . The substitution preserves and has ; these factors move the slash from to . Refold over to get the reverse double coset. Since scalar matrices act trivially, has the same slash action as its adjugate , an integral matrix of determinant . The adjugate involution permutes all the double cosets in . The common real factor is unchanged, giving .
Since is finite dimensional, commuting self-adjoint linear operators have a common orthonormal basis of Hecke eigenforms: diagonalize one operator, restrict the others to its eigenspaces, and repeat until these spaces cannot split further. If is a nonzero common Hecke eigenform with , the coefficient at gives . Were , every positive coefficient would vanish, contrary to being cuspidal. Normalize ; then , and the Hecke multiplication relations yield
The eigenvalues are real by self-adjointness. Their multiplicativity and prime-power recurrence give the Euler product of a Hecke eigenform, initially in an absolutely convergent half-plane:
The Mellin transform in Question 5 supplies its analytic continuation and functional equation.
Finally, for positive even , , by subtracting the constant coefficient times the normalized Eisenstein series. The divisor identity
follows by multiplying the geometric sums at each prime; it and the constant-coefficient formula prove . Thus has an Eisenstein series eigenline and a basis of cuspidal Hecke eigenforms. Odd and negative weights have no forms, , and on the operator is the scalar . These statements fix the normalization and describe the exceptional small weights as well.
The discriminant of a binary quadratic form is ; it is unchanged by a unimodular matrix change of integral variables and satisfies or . For such a , the discriminant criterion for prime representation by a binary quadratic form says that some integral binary quadratic form of discriminant of a binary quadratic form represents an odd prime exactly when is a square modulo , including zero. Equivalently,
These versions agree: a square root modulo can be chosen even when and odd when , by adding if needed, and then the Chinese remainder theorem applies.
For completeness, if , then is primitive, since any common divisor would have its square divide . Complete to a basis of with determinant one using Bézout's identity. The transformed binary quadratic form has leading coefficient and discriminant of a binary quadratic form . Conversely, a suitable makes an integral binary quadratic form representing at .
For , the discriminant of a binary quadratic form is . The prime is represented. If is represented, reducing modulo gives , which also excludes . To prove sufficiency for , quadratic reciprocity gives
The criterion constructs a positive definite binary quadratic form of discriminant of a binary quadratic form . It is primitive: a common divisor of its coefficients would divide , and if that divisor were , then would divide , impossible for .
We must still establish that this form is equivalent to , rather than merely some form of the same discriminant of a binary quadratic form. In a positive definite integral binary quadratic form, replace by to arrange . If , apply and repeat. Each such exchange strictly decreases the positive integer leading coefficient, so this reduction algorithm for a positive definite binary quadratic form terminates with . Then , so . With , parity forces , giving . With , the only integral choices are , and these are not primitive. Thus every primitive positive definite binary quadratic form of discriminant of a binary quadratic form is equivalent to , and preserves its represented integers. Therefore
Fix an even weight and write . Extend the slash operator for modular forms to positive-determinant rational matrices by the determinant-normalized slash operator
The automorphy factor identity makes this a right action. Let be the integral matrices of determinant . Their left -cosets have unique determinant-n matrix representatives for Hecke operators
An integral row operation obtained from Bézout's identity makes the first column , and a row shear reduces the other top entry modulo , proving this description. The usual Hecke operator is
This normalization has . Right multiplication by permutes the left cosets in , so has the same modular transformation law as . Each summand is holomorphic in . Holomorphy at the cusp and preservation of cusp forms follow directly from the coefficient formula below; the full modular group has only one cusp orbit. Thus the operators act on both and .
If , summing over kills terms unless . Writing gives output exponent , so a term of exponent requires and has original index . Its multiplier is . The Fourier coefficients of a composite-index Hecke operator are consequently
For , this means . In particular . For a prime number ,
with a nonexistent fractional-index coefficient interpreted as zero.
The Hecke multiplication relations follow from these coefficients. For coprime indices, the two divisor choices combine uniquely and give . For prime powers put , and, on formal Fourier series, let and . These individual maps need not preserve level one, but , and the coefficient formula gives
Multiplying on the left by and cancelling yields
Induction gives ; combining distinct prime factors proves
The modular Hecke algebra is therefore commutative and generated by its prime-index operators. The identity , rather than the generally false reversed identity, is what proves the prime-power recurrence.
On use the positive definite Petersson inner product
Exponential cusp decay makes this integral finite. The Hecke operators are self-adjoint for the Petersson inner product. Here is the correspondence argument. For a positive-determinant matrix , set . The finite sum over the double coset unfolds its pairing into
Changing variables preserves hyperbolic area, and shows that the determinant-normalized slash factors transfer from to on . The new quotient is by ; folding it back gives the operator for the reversed double coset. For , its adjugate again lies in . Positive scalar matrices act trivially in the determinant normalization, so and its adjugate give the same action. The adjugate involution preserves the entire determinant- correspondence, and the external normalization is real. Thus
Finite-dimensional spectral theory now gives a simultaneous orthonormal eigenbasis on , since the operators commute and are self-adjoint. For a common Hecke eigenform with eigenvalues , the first-coefficient formula gives . If , every coefficient vanishes and , a contradiction. Rescale each eigenform to have . The resulting basis is orthogonal, and
All these eigenvalues and coefficients are real. A fixed simultaneous eigenspace is one-dimensional, because its normalized Fourier coefficients are uniquely determined by the eigenvalues.
Applying the multiplication relations to an eigenform gives
The recurrence yields . Multiplicativity then gives the Euler product of a Hecke eigenform
initially in a right half-plane, for example using the Fourier coefficient bound for a cusp form. Modular inversion and the Mellin transform of a cusp-form L-function continue to an entire function and give .
There is also an integral structure. If , choose , , with a monomial in of weight and constant term one. These forms have integral Fourier coefficients and start with ; their first coefficients form a unitriangular matrix. They are a basis, and every cusp form with integral coefficients is an integral combination of them, by successive elimination of its first coefficients. The coefficient formula shows that preserves this lattice. Its characteristic polynomial is consequently monic with integer coefficients, proving that the Hecke eigenvalues are algebraic integers. Together with self-adjointness, this gives real algebraic integers without requiring any unproved bound for their sizes.
For even , the full space decomposes as . The normalized Eisenstein series is a simultaneous eigenform with
Its coefficients are , and the elementary divisor identity verifies the eigenvalue formula, including the constant coefficient. Thus the cusp eigenbasis plus diagonalizes the operators on . Weight two and odd weights have no forms; in weight zero the constant function has eigenvalue . As a concrete cuspidal example, , so for its Fourier coefficients, and the recurrence gives .
The Euclidean algorithm gives
Back substitution produces the Bézout's identity
Hence a positive integer solution is . More generally, subtracting this identity from any other solution shows . Since and are coprime, the integer solutions are , ; both are positive precisely when .
Divide the linear congruence by the common factor , also dividing its modulus:
The Bézout's identity from part (a) makes the inverse of modulo . Multiplication by therefore gives . Thus all integer solutions are . Equivalently, the three solution classes modulo are ; using modulus must not discard two of these classes.
Write . Reduction of the other integer congruence modulo gives . The Bézout's identity gives , so . Consequently,
Indeed, . The Chinese remainder theorem guarantees one class modulo , since the two moduli are coprime.
For a framed embedding , index- surgery on a smooth manifold removes the interior of that region and replaces it by . Their common boundary is , along which the framing specifies the gluing. This is a surgery. Its trace is an -dimensional cobordism obtained by attaching the handle to along the outgoing boundary.
In the present surface case, and . The operation removes an annulus around the embedded curve and caps its two boundary circles by closed disks. Since , the curve cannot separate the oriented torus: a separating curve is the oriented boundary of one of the complementary subsurfaces and is therefore null-homologous. Thus it is a nonseparating curve, and the cut-open surface is connected with two boundary components. Its Euler characteristic is zero, since both the removed annulus and the gluing circles have Euler characteristic zero. Capping adds two, so the resulting oriented closed connected surface has . By the allowed surface classification it is a sphere. Therefore
Equivalently the classification shows that is a cylinder. The argument is conditional on the asserted embedding existing; it does not assign a surgery manifold to a nonexistent embedded curve.
Choose an arc in this connected cylinder joining its two boundary circles and close it by an arc crossing the removed annulus. After smoothing the joints, its closed curve meets transversely exactly once. If , then their algebraic intersection number of curves on an oriented surface is
This proves that is a primitive homology class and forces .
Conversely, if , the map
is an immersion with the required homology class. If its values at coincide, then and are integers; Bézout's identity gives . It is therefore injective and, by compactness, an embedded circle. An explicit annular thickening is
The determinant of its coordinate derivatives is . If two image points coincide, solving for the difference in the normal coordinate shows that is an integer multiple of . The strict choice of forces that integer to be zero, so and then modulo one. This supplies the actual required embedding, not just a homology class. Hence
Use the standard convention that an integral domain has . Since , the sign of a nonzero makes no difference. For prime, every nonzero residue has an inverse by Bézout's identity, so the quotient ring is a field and hence an integral domain. If is composite with , the nonzero classes of and multiply to zero, giving zero divisors. For , the quotient is the zero ring, excluded by the convention above. Finally, gives , an integral domain. Thus
If a convention restricts this notation to positive moduli, the answer is simply the positive primes.
Suppose is a prime number, and . Since the only positive divisors of are one and , the greatest common divisor of and is one. By Bézout's identity, integers exist with . Multiplying by gives . Both terms on the left are divisible by , so . Thus Euclid lemma gives
The fundamental theorem of arithmetic says that every positive integer greater than one is a product of prime numbers, uniquely up to their order. Existence follows by strong mathematical induction: if is prime it already has a factorization; otherwise with , and the factorizations of combine to factor .
For uniqueness, suppose are two prime factorizations. Repeated application of Euclid lemma makes divide one of the , so primality forces . Reorder that factor to the front, cancel it and repeat. Neither side can retain extra primes when the other has become one, since every prime exceeds one. The two multisets are therefore identical. For a negative integer there is additionally the uniquely determined sign; one has the empty positive factorization, and zero is excluded. The prime-product divisibility lemma is the step which makes factorization unique.
Let . If the linear congruence holds, then for some integer , so the greatest common divisor divides . Conversely, Bézout's identity gives integers with . If , multiply this identity by to obtain . Hence
For the number of solutions, write , and . The linear congruence becomes , where are coprime integers. Multiplication by is invertible modulo by Bézout's identity, so the solutions form one residue class . Modulo , these are exactly
They are distinct: if two have the same residue class modulo , then divides , forcing ; with , this forces . Every other solution differs from by a multiple of , so these exhaust the solutions.
Finally,
Combining this with the existence criterion gives the requested equivalent modular congruence.
For the Fibonacci addition formula, use mathematical induction on , with the assertion applying to every . At , . If the formula holds for some and all , apply it at and use the Fibonacci number recurrence:
This is the assertion at , completing the mathematical induction. Thus
Taking gives the doubling identity
For the Lucas numbers, , and . For , both expressions for earlier Lucas numbers are available, and
Hence . The separate check matters because the defining expression for was given separately.
The Euclidean algorithm and the Fibonacci number recurrence give, for ,
Repeating reduces to ; the case is immediate. Therefore .
For , , so a common divisor of divides both and . Since are coprime, Bézout's identity gives integers with . Multiplying by shows . Conversely any common divisor of and divides . Including , this proves the stronger greatest common divisor identity
The greatest common divisor is the largest positive integer dividing both and . To prove Bézout's identity without assuming a factorization theorem, consider the nonempty set of positive integer linear combinations
It contains , so the well-ordering principle gives a least element . By Euclidean division, write with . Then
is another integer linear combination. If , it contradicts minimality, so and . Applying the same argument to gives . Conversely, every common divisor divides every integer linear combination and therefore divides . In particular every positive common divisor is at most . Thus and
This also proves the requested divisibility implication for any integer : if and , then .
For the scaling identity for greatest common divisors, put with . Since divides and , . On the other hand, multiplying Bézout's identity by expresses as , so . Positivity gives . Therefore without using prime factorization,
For Fermat's little theorem, first suppose . Multiplication by permutes the nonzero residue classes modulo : if , the prime cannot divide , so cancellation gives . Multiplying the representatives in this permutation,
Every factor of the factorial is nonzero modulo the prime, so the factorial has a modular inverse and can be cancelled. Thus and . If , both sides are zero modulo . Hence for every integer ,
For completeness, the cancellation used above follows from Bézout's identity: a number relatively prime to has an inverse modulo .
An additive valuation on a field is a map , where is a totally ordered abelian group, with and whenever . Set . We consider nontrivial valuations; if the trivial valuation is allowed, it must be listed separately from the asserted classification. Two valuations are equivalent when their valuation rings agree, or equivalently their ordered value-group images identify in a way compatible with the maps. Real-valued equivalent nontrivial valuations differ by positive scaling.
For a valuation on , every integer has nonnegative value, because it is a sum of copies of or its negative. If all prime numbers had value zero, unique factorization would make the valuation trivial. Thus some prime has . There cannot be two such primes: for distinct , Bézout's identity gives with integers , and the valuation inequality would give . All other prime values therefore vanish. Factoring the numerator and denominator of a rational number gives
The image is the cyclic ordered group generated by , proving equivalence to the P-adic valuation. This is the classification of nontrivial valuations on the rational numbers; an Archimedean absolute value is not an additive valuation satisfying this ultrametric inequality.
The simple-root form of Hensel's lemma says that for a complete discrete valuation ring with maximal ideal , a polynomial and with and have a unique root in .
For over , all roots are integral: a negative valuation would make the leading term the unique term of lowest valuation. Modulo , the roots are , and is nonzero at each. Hensel's lemma gives three distinct lifts, and a cubic has no further roots. The number is .
For over , a root is again integral and reduces to zero modulo . Write it as with . The equation becomes , impossible modulo . The number is .
For over , a putative root of valuation gives term valuations . The first is uniquely minimal, a contradiction. Thus all roots are integral. Reduction modulo is , whose root zero is simple since the derivative is a unit everywhere. Hensel's lemma gives exactly one lift. The number is .
In RSA, choose with distinct large primes, an exponent coprime to , and satisfying . Publish and keep secret. Encrypt a residue as and decrypt by . Fermat's little theorem on each prime and the Chinese remainder theorem prove decryption, including messages not coprime to .
A customer knows a nonzero multiple of . Write with odd. Choose a base at random. A nontrivial already factors . Otherwise compute modulo . The last entry is . If the first occurrence of is preceded by , then
Indeed, the two prime components of this square root of must have opposite signs. This procedure succeeds for some bases: by the Chinese remainder theorem, choose a base whose component modulo has order and whose component modulo has order . Its odd -th power is already a nontrivial square root of . Trying bases therefore gives an explicit factoring algorithm, and repeated random choices give the usual efficient attack. More precisely, if the two components' orders have different powers of , the procedure succeeds. For a uniform element of a cyclic group with -part , those order valuations have probabilities for and for . Independence of the two prime components shows that equal valuations have probability at most . Thus a random unit succeeds with probability at least . Once is factored, every customer's private exponent is computable. The exceptional is an identity cipher and is already insecure.
For the outsider's RSA common-modulus attack, find integers with by Bézout's identity. For a unit message,
using modular inverses for negative powers. If a ciphertext is a nonzero nonunit, its greatest common divisor with factors instead; zero ciphertext corresponds to the zero message for a squarefree modulus. The common message is recoverable without a private key. For a generic unit message this alone does not supply the factorization or all private keys, so it does not demonstrate a complete break for unrelated messages. The nonunit case does give that stronger break.
Write , . For coprime , Bézout's identity and powers of a primitive -th root give . The degrees of these cyclotomic fields are , and . The natural restriction map
is injective and, by these orders, bijective. Under this product description the subgroups fixing and are the two complementary factors. Together they generate the whole group, so their common fixed field is . By the Fundamental theorem of Galois theory, . This also includes or .
Apply the Euclidean algorithm to and :
Back-substitution gives the Bézout's identity
Thus is one solution of the Diophantine equation. Subtracting this solution from any other gives
Since and are coprime, divides . To justify that step directly, multiply by : both terms on the right are divisible by , because . Write ; substitution then gives . Therefore the complete solution set is
Every such pair satisfies the original Diophantine equation, since the terms cancel.
First recall why the two-variable Bézout's identity follows from the Euclidean algorithm. The initial values are integer linear combinations of . At every subsequent step, is again an integer linear combination of . Therefore the last nonzero remainder, which is their greatest common divisor, has that form.
Put . The preceding argument supplies integers with . Applying the same argument to gives integers such that
An integer divides exactly when it divides : if it divides , it divides , while itself divides both . Hence . Substituting the expression for proves
Thus
are integers satisfying . This also explains how to construct the coefficients using two applications of the Euclidean algorithm.
The euclidean algorithm computes the greatest common divisor of two integers by repeated division with remainder. Start with , , interchanging them if necessary, and repeatedly write
until a zero remainder occurs. The positive remainders strictly decrease, so the process terminates. At each step the common divisors of are exactly the common divisors of , because . Hence
If one input is zero, the answer is the absolute value of the other; the usual convention sets . Back-substitution also expresses the greatest common divisor as an integer linear combination of the inputs, as in Bézout's identity.
Fix any two integers . By Bézout's identity, there are integers with . Replacing by leaves this identity unchanged. Choose large enough that both entries are nonnegative. A path with upward steps and downward steps then takes to , with strictly positive probability . There are no boundary restrictions on this state space.
This applies in both directions, so every pair of states communicates. Hence