Hubbry Logo
search
logo

Pocklington's algorithm

logo
Community Hub0 Subscribers

Pocklington's algorithm

logo
Community Hub0 Subscribers
Write something...
Be the first to start a discussion here.
Be the first to start a discussion here.
See all
Pocklington's algorithm

Pocklington's algorithm is a technique for solving a congruence of the form

where x and a are integers and a is a quadratic residue.

The algorithm is one of the first efficient methods to solve such a congruence. It was described by H.C. Pocklington in 1917.

(Note: all are taken to mean , unless indicated otherwise.)

Inputs:

Outputs:

Pocklington separates 3 different cases for p:

The first case, if , with , the solution is .

See all
User Avatar
No comments yet.