Algebraic number theory Created 2026-09-24 Updated 2026-10-13
Algebraic number theory studies integer factorization, divisibility, prime ideals, and units after extending the rational numbers to a number field. Its basic objects are a number field and its ring of integers : the counterparts of and . The field norm turns multiplication in into multiplication of rational numbers, and takes algebraic integers to integers. These connections let linear algebra and Euclidean geometry answer arithmetic questions.[ref]
A first example is with ring of integers . The integer acquires the factorization
Each factor has field norm . Neither is a unit, and each is an irreducible element: any factorization into two nonunits would factor the prime number into two integers of absolute value greater than one. Arithmetic in a larger ring thus reveals structure invisible in ordinary integer factorization.
There is also a complication: unique factorization of elements can fail, as in the failure of unique factorization in the ring of integers generated by square root of minus five. The general replacement is prime ideal factorization. The ideal class group measures the obstruction to making every ideal a principal ideal.
The historical motivation is visible in Richard Dedekind's original 1877 exposition: he begins with ordinary integer factorization, passes to Gaussian integers, and then uses a quadratic example to explain why ideals are needed. His later section establishes unique factorization of ideals in a number field. This is a direct record of the development of the theory, rather than a claim that all its ideas originated in one year.[ref][ref]
Congruence of squares 2026-10-14
A congruence of squares says that two integers have the same square modulo a positive integer . Factoring their difference of squares gives
A useful integer factorization results when or is a proper divisor of . Divisibility of a product does not generally force divisibility of either factor by all of : different prime factors of can divide different parts of that product.
For , . Therefore
Thus . The prime seven divides the difference, while eleven divides the sum. These computations already give a complete prime factorization because seven and eleven are prime numbers.
The Chinese remainder theorem explains the hidden sign choices. The four congruence classes solving have representatives . Modulo seven each is or ; modulo eleven each is or . Two independent sign choices produce four roots. The inputs thirteen and twenty agree modulo seven and disagree by sign modulo eleven, allowing their sum and difference to separate the two prime factors.
Figure 1. . Each cell gives the unique residue modulo with its indicated residues modulo seven and eleven. Relative to input thirteen, input twenty agrees modulo seven and has the opposite sign modulo eleven. The resulting greatest common divisors are seven and eleven. Diagonal all-same or all-opposite choices give only the trivial factors one and . Details.
For distinct odd prime numbers , and , a solution with and modulo yields both proper factors by the two greatest common divisors. For a general composite integer, a proper divisor need not itself be prime; further factoring can remain. If or in the coprime case, the two calculations return and one instead. A factor base helps generate relations, but does not ensure every resulting relation is useful.
For historical context, Pomerance describes Kraitchik's 1920s enhancement of the difference-of-squares approach associated with Fermat: seek a difference that is a multiple of , rather than exactly . His account also notes antecedents in Gauss and Seelhoff, so this is not an attribution of the whole idea to a single inventor. [ref].
Divisor Created 2026-10-03 Updated 2026-10-14
A divisor of an integer is an integer satisfying the divisibility relation . Equivalently, for some integer . The word positive matters when listing or counting divisors: unless signs are restricted, both and qualify.
The positive divisors of are
Their negatives are also divisors of , giving twelve integer divisors altogether. The same list of positive divisors works for . One has only the positive divisor , while zero has every integer as a divisor, including zero under our divisibility convention. A nonzero integer never has zero as a divisor.
For a positive integer , the positive divisors come in pairs whose product is . For , the pairs are , and . Each pair contains a divisor at most , so searching through candidate divisors up to the square root suffices to find all pairs. A pair repeats its own member only when is a perfect square; for , the middle pair is . Consequently a positive integer has an odd number of positive divisors exactly when it is a perfect square.
The prime factorization gives another complete description. Since , its positive divisors are precisely with and . These independent choices give positive divisors, the value of the divisor function . A prime factor is one particular kind of divisor; , and show that divisors need not be prime numbers.
Thinking in pairs connects exact grouping with integer factorization: twelve objects can form three groups of four or four groups of three. Thinking in shared divisors gives the greatest common divisor; for and , the positive common divisors are , and the largest is .
Primality 2026-10-14
Primality is the property of a positive integer being a prime number. Primality testing determines this property; integer factorization asks for factors and is a different computational task.
By Carl Pomerance. Slides for the ICERM meeting "Seventy-five years of Mathematics of Computation", 1–3 November 2018.
Cited passages: slide 14 states Pépin's test and outlines its proof; slides 15–16 describe Fermat numbers and their role in integer factorization; slide 18 gives the Gauss-Wantzel theorem and distinguishes Gauss's construction result from Wantzel's necessity proof. Numerical records elsewhere in these 2018 slides are historical records, not claims about current records.
For with distinct odd primes, choose a uniform unit and give only to an oracle returning any square root . Conditional on this square, is uniform among four roots and independent of the oracle's choice. With probability one half, is not , and is a nontrivial factor. Thus full inversion of the squaring map yields randomized integer factorization; this reduction does not equate arbitrary partial leakage with full inversion.
Trial division 2026-10-14
Trial division searches for divisors of an integer by testing candidate divisions. For primality testing of an integer , testing the prime numbers up to suffices: any composite number has a prime factor in that range. After finding a prime factor, repeated division removes its prime power, and testing the remaining quotient gives an elementary integer factorization method. This is useful for small inputs, but the number of candidates can grow rapidly with the input's digit count.