sqrt(2) modulo a prime




We know that 2 is a square modulo any prime of the form 8n-1 and 8n+1.
In the case 8n-1, the sqrt's of 2 are explicitly 4^n and -4^n. Likewise
we know that -1 is a square mod p=4n+1 and there is the explicit
formula +-(2n)! for its square roots. Last, there is a tougher formula
(due to Jacobi) for the roots of xx+x+1 = 0 mod p when p is 1 mod 6.
But what about sqrt(2) mod p=8n+1? Has any explicit formula been found?
I suspected it was possible and that it would be easy enough to smoke
out, but I haven't succeeded. TIA.

.



Relevant Pages

  • Re: n! + 1 = k^2
    ... testing whether n!+1 is a square via computing the square root, ... is not a square modulo p: ... Just use bigger primes. ... the congruence tests is about 1 in 2^k. ...
    (sci.math)
  • Re: n! + 1 = k^2
    ... | testing whether n!+1 is a square via computing the square root, ... The "square modulo p?" ... Just use bigger primes. ... | the congruence tests is about 1 in 2^k. ...
    (sci.math)
  • Re: Front door is a little out of square - Advice?
    ... need to shim from the bottom? ... TIA ... Is the door out of square or is the house settling making it look like it's ...
    (alt.home.repair)
  • Re: Front door is a little out of square - Advice?
    ... need to shim from the bottom? ... TIA ... The door is out of square with respect to the frame. ... (Unless you think you can rectify this by jacking the house and squaring the door frame ...) ...
    (alt.home.repair)
  • Using __mul__ within a class
    ... I'm pretty new to Python and was wondering why the 'Square' method in ... after squaring? ... TIA. ... class FibonacciMatrix: ...
    (comp.lang.python)