## You are here

Homeprimality

## Primary tabs

# primality

A general dictionary would define primality as “the quality or condition of being a prime number.” In mathematics, it might be more useful to define primality as a Boolean-valued function that returns True if the input number is prime and False otherwise. Two examples: the primality of 47 is True; the primality of 42 is False.

It is not necessary to perform integer factorization to know the primality of a given integer, as there are various congruences and other relations which prime numbers satisfy but non-primes don’t; these can serve as primality tests. The primality of certain large numbers, such as the thirtieth Fermat number, has been determined even though all we know of its least prime factor is that it is less than the square root of the composite Fermat number. Before the primality of a large number is ascertained, it might be considered a probable prime. 1 is the only integer to be declared non-prime without a previously unknown factor being discovered.

## Mathematics Subject Classification

11A41*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff
- Corrections