Jump to content

Talk:Tonelli–Shanks algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Endo999 (talk | contribs) at 03:18, 2 September 2017 (dickson's work on tonelli says the algorithm will work on mod p^k: preliminary equations says that tonelli can do modular square roots of prime powers!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconMathematics Start‑class Low‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-priority on the project's priority scale.

the case where p = 3 mod 4

It is written that in the special case where p equals 3 modulo 4, then the solution is simply:

I don't get why. Is it supposed to be obvious? --Grondilu (talk) 14:01, 20 June 2012 (UTC)[reply]

Yes. Square it, and apply Euler's criterion.—Emil J. 14:41, 20 June 2012 (UTC)[reply]

alberto tonelli needs enwiki biop (from itwiki)

Alberto Tonelli needs a enwiki translation. He has an article on the itwiki, a small one that doesn't mention he first came up with the important Tonelli-Shanks modular square root algorithm. There are three algorithms to take a modular square root and Tonelli's is as good as any of them. It's actually a rather important algorithm, since public key cryptography uses modular arithmetic. Endo999 (talk) 02:13, 28 August 2017 (UTC)[reply]

dickson's work on tonelli says the algorithm will work on mod p^k

I'm not a professional mathematician but I just read Dickson's "History of Numbers" [1] where it says on page 215 that

A. Tonelli[2] gave an explicit formula for the roots of

Perhaps some mathematician should work out if the Tonelli algorithm takes modular square roots for powers of primes as well as for primes This Wiki article says the algorithm only works for prime modula.

After reading the Dickson text a couple of times on p215,216 I came across this formula for the square root of Failed to parse (syntax error): {\displaystyle x^{2]\bmod{p^{y}}} .

when , or and
for then
where

Noting that and noting that then

(529^{7} + 3)^{7 29^{2}}* 529^{(7*29^{2} + 1)/2}\bmod{ 29^{3}}\equiv 24366 \equiv -23</math>

So Tonelli's math does seem to take modular square roots of prime powers! Endo999 (talk) 03:17, 2 September 2017 (UTC)[reply]


Endo999 (talk) 06:36, 30 August 2017 (UTC)[reply]

  1. ^ "History of the Theory of Numbers" Volume 1 by Leonard Eugene Dickson, p215 url=https://ia800209.us.archive.org/12/items/historyoftheoryo01dick/historyoftheoryo01dick.pdf
  2. ^ "AttiR. Accad. Lincei, Rendiconti, (5), 1, 1892, 116-120."