Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Math > Re: JSH: Probab...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 13 Topic 4124 of 4348
Post > Topic >>

Re: JSH: Probabilistic quadratic residue solving

by JSH <jstevh@[EMAIL PROTECTED] > Jun 22, 2008 at 09:04 AM

On Jun 22, 8:11=A0am, Chip Eastham <hardm...@[EMAIL PROTECTED]
> wrote:
> On Jun 22, 10:26=A0am, JSH <jst...@[EMAIL PROTECTED]
> wrote:
>
> [snip]
>
> > The method is probabilistic because if I've got the analysis right you
> > have a 50% probability of getting the right k, for each z that you
> > try. =A0Checking is done by looking at k^2 mod p, to see if you get q.
>
> > Example: Let q=3D2, p=3D17 so T =3D 2(2) mod 17 =3D 4 mod 17.
>
> > Here T=3D21 does not work, but T =3D 55 =3D 5(11), so z =3D 8 and the
a=
nswer
> > then from
>
> > 3k =3D 2(8) mod 17, is k =3D 11 mod 17.
>
> > Is there any use for such a technique?
>
> > James Harris
>
> For primes p =3D 8n + 1, there is a probabilistic aspect
> of the best methods for finding square roots mod p.
> For primes with other residues mod 8, deterministic
> methods are known.

Well this technique would be probabilistic for p odd prime.

So it's more general then, correct?

> However the nondeterminism is limited to finding one
> quadratic residue mod p. =A0If only one square root mod
> p is needed, then perhaps the analysis comes to the
> same thing, but it is well known that half of all the
> nonzero residues mod p are quadratic nonresidues, and
> confirming one by Legendre symbol (efficiently found
> by the generalization, the Jacobi symbol) chosen at
> random clearly gives a 50% chance of success.

Um, yeah.

> The Wikipedia articles on "Quadratic residue" and

Already read it.

> "Shanks-Tonelli algorithm" would be nice starting

Thanks!  Just went by to check it out.

> points if you wish know more.

I think it interesting to me that what I call surrogate factoring
leads to this way to solve for a quadratic residue by factoring.  Note
my idea involves factoring an odd T chosen such that T =3D 2q mod p,
where q is the quadratic residue modulo p, and it should have a 50%
chance of success with each factorization of T, if it's right.

The math is easy but repeatedly I've thought one thing and been forced
to back down later when experiments demonstrate that I'm wrong.  Still
I find myself drawn in a bit on this subject so I'm reading material
about it on the web and pondering the problem.


___JSH
 




 13 Posts in Topic:
JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-22 07:26:02 
Re: JSH: Probabilistic quadratic residue solving
Chip Eastham <hardmath  2008-06-22 08:11:17 
Re: JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-22 09:04:10 
Re: JSH: Probabilistic quadratic residue solving
rossum <rossum48@[EMAI  2008-06-22 18:51:55 
Re: Probabilistic quadratic residue solving
"Larry Hammick"  2008-06-22 18:07:51 
Re: JSH: Probabilistic quadratic residue solving
Chip Eastham <hardmath  2008-06-23 19:46:48 
Re: JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-26 22:01:13 
Re: JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-27 17:09:02 
Re: JSH: Probabilistic quadratic residue solving
"Dudly" <dd3  2008-06-27 21:15:14 
Re: JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-27 17:12:09 
Re: JSH: Probabilistic quadratic residue solving
Chip Eastham <hardmath  2008-06-27 19:45:59 
Re: JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-27 20:20:44 
Re: JSH: Probabilistic quadratic residue solving
JSH <jstevh@[EMAIL PRO  2008-06-27 20:45:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 3:00:39 CST 2008.