Primality testing Created 2026-09-24 Updated 2026-10-18
Primality testing is the decision problem of determining whether an input integer is a prime number.
Let be a chain map between degreewise finitely generated free abelian groups. If its reduction modulo every prime number is a quasi-isomorphism, the mapping cone acyclicity criterion makes acyclic. The short exact sequence of chain complexes implies that multiplication by is an isomorphism on every . These are finitely generated abelian groups. Their free summands would make multiplication by fail to be surjective, and any nonzero finite summand would make it fail to be injective for a prime dividing its order. Thus and is a quasi-isomorphism. Degreewise finite generation is essential to this argument.
Prime counting 2026-10-20
Prime counting evaluates the prime-counting function: it determines how many prime numbers do not exceed a given bound. A number-theoretic sieve can construct the whole table up to a moderate bound, while methods such as the Lehmer prime-counting algorithm group whole classes of integers to evaluate much larger arguments without listing every prime number.
Prime-divisibility coding of a finite set Created 2026-10-06 Updated 2026-10-14
An internally finite subset of can be represented in Peano arithmetic by a product of distinct prime numbers: multiply the th prime number exactly when belongs to the subset. Divisibility by that prime recovers membership. Arithmetic induction proves existence of this code even for a definable subset with a nonstandard cutoff in a nonstandard model of Peano arithmetic.
Prime divisor of a Fermat number Created 2026-10-07 Updated 2026-10-14
For a prime number , the exact criterion iswhere must be different from two and is the multiplicative order of two modulo . If , then : the order divides but not , so it is exactly . Conversely, that order makes a square root of unity different from one in the prime field ; it must be , because has no other roots in a field.
Exact modular powers distinguish Fermat divisors from the prime thirteen, whose multiplicative order is twelve
. Details. For example, modulo seventeen the powers of two are . Their first return to one occurs after eight steps. The half-way value is , proving that . Likewise, identifies as a prime factor of . These are statements about divisibility, not evidence that the entire Fermat number is prime.
The multiplicative order always divides , by Fermat's little theorem, so . In particular, for every prime divisor of a Fermat number is one modulo four. That weaker modular congruence is insufficient: thirteen is one modulo four, but , which is not a power of two. It divides no Fermat number at any index. The exact order criterion explains the whole family, instead of testing finitely many terms.
Prime-exponent encoding of a finite list Created 2026-10-05 Updated 2026-10-06
For a finite list of nonnegative integers, encode its length with the exponent of two and its entries with the following prime numbers: , where is the th prime number. Unique prime factorization recovers both the length and entries. Requiring positive exponents on exactly the prescribed consecutive primes also makes validity decidable. Nesting list descriptors therefore gives a Gödel encoding of deterministic finite automata and other finite syntactic objects.
Prime factor Created 2026-09-24 Updated 2026-10-20
A prime factor of a nonzero integer is a prime number satisfying . For , the distinct prime factors are , while counting repeated factors gives six prime entries. A prime factorization retains their multiplicities: knowing only the distinct prime factors does not distinguish from . A negative integer has the same prime factors as its absolute value.
Prime field Created 2026-10-03 Updated 2026-10-14
The prime field of a field is its smallest subfield: the arithmetic forced upon us by the identity element . Every subfield must contain , its repeated sums, their additive inverses, and the multiplicative inverses of nonzero results. In characteristic zero these operations produce a copy of the rational numbers . In positive characteristic of a field , they produce a copy of , with addition and multiplication given by modular arithmetic.
For example, inside the field with four elements, repeated addition of gives . Thus its prime field is , and the other two elements cannot be reached by repeatedly adding . This is why a finite field need not consist entirely of ordinary integer residues: a larger finite field extends the arithmetic of its prime field with additional elements.
The positive characteristic of a field must be a prime number. If its least vanishing multiple of were with , then would exhibit zero divisors. The absence of zero divisors rules this out. The prime field supplies the scalars when viewing as a vector space; its basis then explains the possible sizes of a finite field.
Prime ideals below a principal prime Created 2026-10-25 Updated 2026-10-31
Let be a unique factorization domain and let be a prime element. The only prime ideals contained in the principal ideal are and . To prove this, suppose . Then . For , unique factorization allows us to write with . Since is a prime ideal and , repeated primality gives , a contradiction.
In the particular polynomial ring , when is a prime number, the same proof uses only the integer coefficients: factor out the largest common power of from the coefficients of a nonzero polynomial . This gives with directly, without requiring the general unique factorization domain theorem for polynomial rings.
Prime number Created 2026-09-24 Updated 2026-10-13
A prime number is a positive integer whose only positive divisors are and . The first ten prime numbers are . In contrast, is a composite number because it has a positive divisor strictly between one and itself. The integer one is neither a prime number nor a composite number: the lower bound is part of the definition. Equivalently, the divisor function satisfies for a prime number, whereas and for every composite number .
Prime numbers are the building blocks of positive integers under multiplication. The fundamental theorem of arithmetic says that every integer greater than one is a product of prime numbers, with a unique collection of factors when their order is ignored. For example, and . Their common factors reveal the greatest common divisor , and the combined maximum powers reveal the least common multiple . A complicated divisibility question becomes a comparison of prime exponents.
There is also a useful finite test. If a composite number equals with , then . Therefore some prime factor is at most , and trial division only needs to check prime numbers up to that square root. For , checking suffices; none divides , so it is a prime number. For , the same test finds , giving . To find many prime numbers together, the sieve of Eratosthenes reuses the work by marking multiples.
The division with remainder calculations for make the test explicit:Since , these are all the prime numbers at most its square root, and every remainder is nonzero. Thus the calculation certifies a prime number, without testing the integers individually. In contrast, gives a prime factor and proves that is a composite number.
The definition has a long history. Book VII of Euclid's Elements distinguishes prime numbers from composite numbers through their possible measures; Book IX, Proposition 20 establishes that no finite list exhausts the prime numbers. The modern argument under Euclid's theorem needs only divisibility, so it proves an infinite conclusion without estimating how frequently prime numbers occur. [ref]
https://mathcs.clarku.edu/~djoyce/elements/bookVII/defVII11.html. Euclid, Elements, Book VII, definitions 11–14, David Joyce's edition
[ref]https://mathcs.clarku.edu/~djoyce/elements/bookIX/propIX20.html. Euclid, Elements, Book IX, Proposition 20
. Prime omega function Created 2026-09-28 Updated 2026-10-13
The prime omega function counts the distinct prime factors of a positive integer , so it is the cardinality of the prime support of an integer . For a prime factorization with distinct prime numbers and positive exponents,At there are no prime factors, so the empty sum gives . The total number of prime factors instead gives . [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781, Floor and arithmetic functions, Definition 2.1.2: distinct and repeated prime factors
For , the prime support of an integer is and . The comparison examples give , and . Raising an existing prime factor to a higher power does not affect the prime omega function: for a prime number and . Thus the prime omega function is a strongly additive arithmetic function, withThe reason is that coprime integers have disjoint prime supports of an integer. For arbitrary positive integers, their prime support of an integer combines by set union, and the shared prime factors are exactly those of the greatest common divisor. Counting this set union gives the more general identityFor , , both prime supports of an integer are and , so . In particular : the prime omega function is not a completely additive arithmetic function.
The prime omega function is useful for counting choices involving distinct prime factors. Every squarefree divisor of chooses a subset of its prime support of an integer, so there are squarefree divisors. For , this gives , namely . Also , because the radical of an integer keeps exactly that prime support of an integer. The total number of prime factors records what this count discards, and the two counts agree exactly on squarefree integers.
Prime power Created 2026-09-24 Updated 2026-10-14
A prime power is a positive integer of the form , where is a prime number and is a nonnegative integer.
Prime-power binomial divisibility 2026-10-06
For a prime number and integer , every interior binomial coefficient in row is divisible by . The polynomial identity iterates under the Frobenius endomorphism to . This concerns divisibility by , not necessarily by .
For a normalized level-one cusp form Hecke eigenform of weight , fix a prime number whose local quadratic has distinct roots. Hecke multiplication relations give for and real . If , write ; then . Periodicity when is rational, and density of irrational rotations otherwise, give infinitely many . If , the distinct real reciprocal roots give positive unbounded even-index terms. Reality follows from Hecke operators are self-adjoint for the Petersson inner product.
Prime-power contraction in a formal group 2026-10-31
Let be the valuation ring of a complete non-Archimedean valued field whose residue field has characteristic , and let . For a one-dimensional formal group law over , repeated addition gives with . Hence . The series converges for because its coefficients are bounded and .
For and , choose . The values remain in the ball , so . Associativity identifies . The argument also works in equal characteristic , where the linear coefficient vanishes, and does not require a discrete valuation. It proves contraction of prime-power multiplication near the formal identity without assuming a characteristic-zero formal logarithm.
Prime-proof number 2026-10-20
An integer for which replacing any one decimal numerical digit by a different digit never produces a prime number. The convention must specify whether changes creating a leading zero are permitted. An exact test enumerates the allowed substitutions and applies primality testing to each result.
Prime representation by the Eisenstein norm 2026-10-31
Let be a prime number dividing , and set . The case is . For , useThe Eisenstein integer divides this product, but divides neither factor: divisibility by the rational integer in the basis requires both integer coefficients to be divisible by , whereas the second coefficients are and . Thus is not a prime element of .
The Euclidean norm on the Eisenstein integers makes this ring a principal ideal domain. Since irreducible elements of a principal ideal domain are prime, admits a factorization into two nonunits. The positive integral Eisenstein norm is multiplicative, and its value is one exactly on units: when , its complex conjugate is an inverse. Thus and , forcing both norms to be . Writing proves the displayed representation.
Prime-row binomial coefficient divisibility 2026-10-13
For a prime number , the identity has right side divisible by , while is coprime to . Cancellation in modular arithmetic proves the divisibility.
// Target: combinatorics.bigb
Prime sieve 2026-10-20
A number-theoretic sieve used to enumerate prime numbers by excluding composite numbers. The sieve of Eratosthenes marks multiples of each discovered prime, beginning at its square.
Prime sum Created 2026-10-06 Updated 2026-10-07
A prime sum is a summation indexed by prime numbers, for example . The indexing restriction distinguishes it from a sum over all positive integers.
