*** Welcome to piglix ***

Pocklington primality test


In mathematics, the Pocklington–Lehmer primality test is a primality test devised by Henry Cabourn Pocklington and Derrick Henry Lehmer to decide whether a given number is prime. The output of the test is a proof that the number is prime or that primality could not be established.

The test relies on the Pocklington Theorem (Pocklington criterion) which is formulated as follows:

Let be an integer, and suppose there exist numbers a and q such that

q is prime, and


...
Wikipedia

...