Microsoft Store
 

Prime number


 

In mathematics, a prime number (or prime) is a natural number greater than one whose only positive divisors are one and itself. Or for short: A prime number is a natural number with exactly two natural divisors. A natural number that is greater than one and is not a prime is called a composite number. The numbers zero and one are neither prime nor composite. The property of being a prime is called primality. Prime numbers are of fundamental importance in number theory.

Primality tests

Main article primality test

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

A primality test algorithm is an algorithm which tests a number for primality, i.e. whether the number is a prime number.

Related Topics:
Primality test algorithm - Algorithm

~ ~ ~ ~ ~ ~ ~ ~ ~ ~