Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Computational Problem

Primality test

Primality testing is the computational problem of deciding whether a given whole number is prime, that is, whether it has no divisors other than one and itself. The simplest approach is trial division, which checks the number against possible divisors up to its square root, but far faster methods exist for large inputs. Some tests, such as the elliptic curve and AKS families, prove that a number is prime, while others, such as the Miller-Rabin test, can only prove that a number is composite and are better described as compositeness tests. Unlike integer factorisation, a primality test generally does not return the prime factors, and testing is comparatively easy because its running time is polynomial in the size of the input, while factorisation is thought to be a hard problem. The problem matters in cryptography, which depends on finding very large primes.

Facts
Browse and compare
Problem Kind
Decision problem 1
Primality test
Filter Results1 entry
Connections

Solved By Algorithms

Source Elliptic curve primality (Wikipedia)
Sources
1. Wikipedia: Primality test
Wikimedia FoundationLead
Quote, Lead
A primality test is an algorithm for determining whether an input number is prime.
View the Source
Elliptic curve primality (Wikipedia)
Solved By Algorithms: Elliptic curve primality, Lead, primality proving
Quote, Solved By Algorithms: Elliptic curve primality, Lead, primality proving
elliptic curve primality proving (ECPP), are among the quickest and most widely used methods in primality proving
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.