Definition
The process of determining whether an integer n is B‑smooth, i.e., whether all prime factors of n are ≤ B, typically by attempting factorization up to the bound B or applying specialized smoothness tests.
Principle
Principle
Use trial division by all primes ≤ B as first pass, combined with sieving and partial factorization techniques (Pollard’s rho, p−1, ECM) to detect remaining large cofactors; certify smoothness only when the complete factorization has all primes ≤ B.
Demonstration
Demonstration
Example: n = 360 = 2^3·3^2·5 is 5‑smooth because its largest prime factor is 5; by contrast 1001 = 7·11·13 is not 5‑smooth since it contains primes >5.
Misapplication
Misapplication
Confusing having many small factors with B‑smoothness, or stopping trial division prematurely and declaring smoothness when an undiscovered large prime factor remains; also misusing probabilistic heuristics as proofs without verification.
Consequence
Consequence
Smoothness detection is crucial for factorization strategies (e.g., ECM, quadratic sieve), cryptanalytic attacks that exploit smooth orders, and complexity analyses where smooth inputs admit faster algorithms.
Reversal
Reversal
The opposite problem is roughness detection: proving the existence of a prime factor greater than B can be faster in some cases (find a single large prime factor) and is the negative assertion to smoothness testing.
Boundary
Boundary
Applies to positive integers and an explicit bound B≥2; requires complete factorization up to B to certify smoothness; excludes multiplicative structures over rings where primality notions differ (e.g., nonunique factorization domains) unless primes are interpreted appropriately.
Semantic Tension
Semantic Tension
Tension between practical heuristic screening (fast probabilistic tests or partial sieving) and rigorous certification (complete factorization), and between small‑factor abundance and the single large factor that breaks smoothness.
Synthesis
Synthesis
Smoothness testing is the procedural task of verifying that every prime divisor of an integer lies below a given threshold B, achieved by a cascade of trial division, sieving and targeted factorization methods, and serving as a key predicate in number‑theoretic algorithms and cryptanalysis.