A prime factor of a nonzero integer n is a prime number p satisfying p∣n. For 360=23⋅32⋅5, the distinct prime factors are 2,3,5, while counting repeated factors gives six prime entries. A prime factorization retains their multiplicities: knowing only the distinct prime factors does not distinguish 12=22⋅3 from 18=2⋅32. A negative integer has the same prime factors as its absolute value.
For an integer n≥2, its smallest prime factor spf(n) is the least prime divisor of n. If n is prime, it equals n; if n is composite, it is at most n, because otherwise every product of two prime factors would exceed n.
For example, spf(91)=7. A sieve can tabulate smallest prime factors for all integers up to a bound. Repeatedly replacing n by n/spf(n) then produces its prime factorization. The value at one is a sentinel convention in implementations, since one has no prime factor.
Ancestors (5)
Incoming links (144)
- 47-smooth number
- abc conjecture
- Almost prime
- Almost-primes from an upper-bound sieve and Buchstab identity
- Alwin Korselt
- Bi-unitary divisor
- Bounded exceptional primes for least quadratic nonresidues
- Brent variant of Pollard rho
- Carmichael number
- Composite number
- Congruence of squares
- Coprime-factorization lower bound for a quadratic-form class number
- Coprime integers
- Cube-full number
- Decimal period from multiplicative order
- Dirichlet convolution
- Distinct Fermat numbers are coprime
- Divisor
- Divisor function
- Elliptic-curve factorization method
- Euclid proof for infinitely many primes congruent to seven modulo eight
- Euclid's lemma
- Euclid's theorem
- Euler totient function
- Excess prime-factor multiplicity
- Existence of an Euler witness for every odd composite integer
- Factor base
- Fermat number
- Fermat's factorization method
- Fermat test example
- Fundamental theorem of arithmetic
- Idempotent residue
- Infinitely many prime quadratic nonresidues of a nonsquare integer
- Integer factorization
- Integers whose totient divides them
- Integers with all prime factors congruent to one modulo four
- Jacobi symbol
- Joint coprimality
- Jordan's totient function
- Korselt criterion
- Least common multiple
- Legendre prime-counting formula
- Liouville function
- Log-weighted convolution bound for three to the prime omega
- Mertens function
- Min_25 sieve
- Möbius divisor-sum identity
- Möbius function
- Möbius inversion formula
- Multiplication table bound from distinct prime factors
- Nontrivial square root of unity modulo an integer
- Number-theoretic sieve
- Number theory
- Odd moment of a prime cosine sum
- Order verification from divisors
- Pairwise coprimality
- Past exam of the algebra, analysis and differential equations II course of the University of Oxford / 2010 / Algebra / 3 / d / Solution
- Past exam of the computer science course of the University of Oxford / 2015 / Computer security / 1 / d / i / Solution
- Past exam of the mathematical and Computational Biology course of the University of Cambridge / 2025 / Paper 1 / 1 / b / Solution
- Past exam of the mathematics course of the University of Cambridge / 2001 / ia / Paper 4 / 6E / Solution
- Past exam of the mathematics course of the University of Cambridge / 2002 / iii / Paper 25 / 4 / Solution
- Past exam of the mathematics course of the University of Cambridge / 2004 / ia / Paper 4 / 6E / Solution
- Past exam of the mathematics course of the University of Cambridge / 2004 / ia / Paper 4 / 8E / Solution
- Past exam of the mathematics course of the University of Cambridge / 2005 / iii / Paper 28 / 5 / Solution
- Past exam of the mathematics course of the University of Cambridge / 2005 / iii / Paper 28 / 6 / Solution
- Past exam of the mathematics course of the University of Cambridge / 2006 / ia / Paper 4 / 1E / Solution
- Past exam of the mathematics course of the University of Cambridge / 2006 / ia / Paper 4 / 7E / Solution
- Past exam of the mathematics course of the University of Cambridge / 2006 / ii / Paper 3 / 11H / Solution
- Past exam of the mathematics course of the University of Cambridge / 2006 / ii / Paper 4 / 1H / Solution
- Past exam of the mathematics course of the University of Cambridge / 2008 / ii / Paper 3 / 1H / Solution
- Past exam of the mathematics course of the University of Cambridge / 2010 / ia / Paper 4 / 2E / a / Solution
- Past exam of the mathematics course of the University of Cambridge / 2010 / iii / Paper 25 / 1 / Solution
- Past exam of the mathematics course of the University of Cambridge / 2010 / iii / Paper 25 / 3 / Solution
- Past exam of the mathematics course of the University of Cambridge / 2010 / ii / Paper 4 / 1G / Solution
- Past exam of the mathematics course of the University of Cambridge / 2011 / ii / Paper 4 / 1I / i / Solution
- Past exam of the mathematics course of the University of Cambridge / 2012 / ia / Paper 4 / 6D / Solution
- Past exam of the mathematics course of the University of Cambridge / 2014 / iii / Paper 4 / 3 / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / ia / Paper 4 / 5E / ii / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / iii / Paper 27 / 1 / a / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / iii / Paper 27 / 1 / c / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / iii / Paper 27 / 3 / a / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / iii / Paper 27 / 3 / b / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / iii / Paper 27 / 5 / a / Solution
- Past exam of the mathematics course of the University of Cambridge / 2015 / ii / Paper 4 / 1H / Solution
- Past exam of the mathematics course of the University of Cambridge / 2016 / iii / Paper 124 / 1 / b / Solution
- Past exam of the mathematics course of the University of Cambridge / 2016 / iii / Paper 124 / 3 / a / Solution
- Past exam of the mathematics course of the University of Cambridge / 2016 / iii / Paper 124 / 3 / c / Solution
- Past exam of the mathematics course of the University of Cambridge / 2016 / iii / Paper 124 / 5 / c / Solution
- Past exam of the mathematics course of the University of Cambridge / 2017 / ii / Paper 2 / 1G / Solution
- Past exam of the mathematics course of the University of Cambridge / 2017 / ii / Paper 4 / 1G / Solution
- Past exam of the mathematics course of the University of Cambridge / 2018 / ii / Paper 3 / 1G / Solution
- Past exam of the mathematics course of the University of Oxford / 2021 / Prelims / Mathematics I / 6 / c / iii / Solution
- Past exam of the mathematics course of the University of Oxford / 2021 / Prelims / Mathematics I / 6 / c / ii / Solution
- Past exam of the mathematics course of the University of Oxford / 2021 / Prelims / Mathematics II / 2 / c / Solution
- Past exam of the options II course of the University of Oxford / 2005 / C / 2 / a / ii / Solution
- Past exam of the short options course of the University of Oxford / 2015 / 1 / b / Solution
- Past exam of the short options course of the University of Oxford / 2017 / 1 / c / Solution
- Past exam of the short options course of the University of Oxford / 2021 / 1 / a / ii / Solution
- Past exam of the short options course of the University of Oxford / 2021 / 1 / a / iv / Solution
- Past exam of the short options course of the University of Oxford / 2021 / 1 / b / i / Solution
- Past exam of the short options course of the University of Oxford / 2021 / 1 / d / Solution
- Past exam of the year 1 of the computer science course of the University of Oxford / 2016 / Imperative programming / 2 / e / Solution
- Past exam of the year 1 of the computer science course of the University of Oxford / 2016 / Imperative programming / 2 / f / Solution
- Pépin's test
- Pollard's rho algorithm
- Positive density of power-smooth integers
- Prime divisor of a Fermat number
- Prime-exponent parametrization of smooth numbers
- Prime factor
- Prime number
- Prime omega function
- Prime quadruplet
- Primes congruent to five modulo eight from odd squares plus four
- Prime-support equivalence relation
- Prime support of an integer
- Primitive-root modulus classification
- Primorial
- Proof of Korselt criterion
- Radical of an integer
- Ranked partially ordered set
- Repunit
- Rough number
- Selberg least-common-multiple weights
- Sieve of Eratosthenes
- Smooth number
- Square factor
- Squarefree counting function
- Squarefree divisor
- Square-free integer
- Squarefree part
- Squarefree-part bound for smooth numbers
- S-smooth number
- Størmer's theorem
- Strongly additive arithmetic function
- Sum-of-divisors function
- Sum of prime factors with multiplicity
- Sum of reduced residues
- Sum of two squares theorem
- Terminating decimal
- Three to the distinct-prime-factor count
- Total number of prime factors
- Trial division
- Von Mangoldt divisor identity
- Von Mangoldt function
Synonyms (1)
Discussion (0) New discussion
There are no discussions about this article yet.
Articles by others on the same topic (0)
There are currently no matching articles.