Message Boards Message Boards

0
|
3568 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

p > 0 breaks this equation: a^((p-1)/2) mod p = -1 in Wolfram|Alpha

Posted 8 years ago

http://www.wolframalpha.com/input/?i=a%5E%28%28p-1%29%2F2%29+mod+p+%3D+-1+for+p%3E0

This gives me a pretty much blank page. If I remove p>0, it gives me a result. But add that in and it's a completely blank page, other than the stuff below it like Download and Related Queries. Why??

POSTED BY: L J

What about that equation? What is given and for what are you trying to solve?

Is p supposed to be a prime?

Note tha Mathematica gives, e.g.:

      Reduce[a > 1 && Mod[a^((p - 1)/2), p] == Mod[-1, p] /. p -> 3, Integers]
C[1] \[Element] Integers && C[1] >= 0 && a == 2 + 3 C[1]

      Reduce[a > 1 && Mod[a^((p - 1)/2), p] == Mod[-1, p] /. p -> 5, Integers]
(C[1] \[Element] Integers && C[1] >= 0 && a == 2 + 5 C[1]) || (C[1] \[Element] Integers && C[1] >= 0 && a == 3 + 5 C[1])
POSTED BY: Murray Eisenberg
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract