CISSAlgorithm origin & lineage registry

AlgorithmsNumerics & probabilityEdit on GitHubEdit history

Tonelli–Shanks Algorithm

Shanks–Tonelli algorithm1891

An algorithm that solves x² ≡ n (mod p) by writing p−1 = 2^s·q and using a quadratic non-residue to eliminate the error in the 2-power part step by step. It is widely used to compute square roots modulo a prime.

Origin

2 independent origins — credit is split among them
Alberto Tonelli (1891). Bemerkung über die Auflösung quadratischer Congruenzen. Nachrichten von der Königlichen Gesellschaft der Wissenschaften und der Georg-Augusts-Universität zu Göttingen 1891.eudml.org/doc/180329
Daniel Shanks (1973). Five number-theoretic algorithms. Proceedings of the Second Manitoba Conference on Numerical Mathematics (Congressus Numerantium 7).No digital identifier · Search scholarly sources

Lineage

Algorithms 2 · Relations 1

Notable implementations

Paths checked against the GitHub default branch

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…