Re: Another Quad. Residue question



"Nobody" <STBILLY@xxxxxxxxxxx> wrote in message
news:28135758.1114980680311.JavaMail.jakarta@xxxxxxxxxxxxxxxxxxxxxxxxx
> > "Nobody"
> > > > 1) Is there a good comprehensive source on
> > > > quadratic residues?
> > > > 2) Is it true that given a prime P, then there
> > > > there is between P and
> > > > 2P an (even?) integer for which P is not a
> > > > P is not a quadratic
> > > > residue?
> > > > 3) If 2) is true, can such an integer be
> > > > ger be expressed as a function
> > > > of P.
> > > >
> > > > Thanks much for information.
> > >
> > > If p=3 (mod 4), we can pick p+4.
> > > (Pick p+1 if you want an even integer.)
> > >
> > > If p=1 (mod 4), we can pick p+k,
> > > where k is any quadratic non-residue mod p.
> > > (Pick an odd q.n-r if you want an even integer.)
> > He wants a quadratic *non*-residue.
>
> I thought his question was : find an (even) integer
> n between p and 2p so that p is a q.n-r mod n.
>
> Finding a q.n-r mod p (between p and 2p)
> would be a different problem ...
>
> >Alas there is no
> > known algorithm of any value. Even the very
> > elementary
> > proof that nonsquares exist, and are one-to-one with
> > the
> > squares, is indirect: there are (p-1)/2 squares
> > (omitting
> > zero), and the rest are nonsquares. But how to find
> > a nonsquare without effectively finding *all* the
> > squares? Nobody knows.
> > LH
Yes, sorry, I saw "p" for "q" and vice versa. I suffer slightly
from anno domini.
LH


.



Relevant Pages

  • Re: Besides Gothic 3, anything new to check out in PC RPGs? U5 Lazurus, anyone?
    ... Anno Domini: ... (Hope nobody gets sued.) ... Sounds like polishing a turd to me>8^P ...
    (comp.sys.ibm.pc.games.rpg)
  • Re: New Signature
    ... Nobody can take radw away from you. ... us pro-mcCoy trolls. ... Prev by Date: ...
    (rec.arts.drwho)
  • Re: Question about CardLayout
    ... that's exactly the way I was planning to do it if nobody came ... Luc Van Bogaert ... Prev by Date: ...
    (comp.lang.java.help)
  • Re: Fallback Options
    ... > nobody else wants to. ... I agree with Bev on this one. ... (Now theres something you won't see every day.) ... Prev by Date: ...
    (rec.skiing.alpine)
  • Re: X-Mas ?
    ... I'm in love for the first time. ... It's a love that lasts forever, ... Nobody ever loved me like she does, ... Prev by Date: ...
    (soc.culture.vietnamese)