Cryptography problem involving prime numbers

Click For Summary

Homework Help Overview

The discussion revolves around a cryptography problem involving prime numbers, specifically focusing on the equation x^2 ≡ -1 (mod p) where p is a prime of the form 3 (mod 4). Participants are exploring the implications of Fermat's Little Theorem and the nature of solutions in modular arithmetic.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants are examining the implications of raising both sides of the equation to the power (p-1)/2 and discussing the resulting conditions for p. There are attempts to identify specific values of p and their corresponding implications for x. Some participants express confusion about incorporating Fermat's Little Theorem into their reasoning.

Discussion Status

The discussion is ongoing, with some participants providing insights into the application of Fermat's Little Theorem. There is a recognition of the need to clarify the relationship between the theorem and the problem at hand, but no consensus has been reached on the correct approach or solution.

Contextual Notes

Participants note the constraints of the problem, including the requirement for p to be of the form 3 (mod 4) and the implications of working with modular arithmetic. There is also a mention of a potential misplacement of the thread in the forum.

docnet
Messages
796
Reaction score
487
Homework Statement
I'm having trouble solving this problem. any help would be appreciated.
Relevant Equations
p = 3(mod4)
x^2 = -1(modp)
Screen Shot 2020-09-21 at 7.04.39 PM.png


Here is my attempt

When we raise both sides to the power (p-1)/2, we get
x^(p-1)= -1^[(p-1)/2](modp)

Looking at p=3(mod4), the possible values of p are
{3, 7, 11, 19, 23, 31...}.

Putting these values of p into (p-1)/2 we get odd integers.
{1, 3, 5, 9, 11, 15...}.

So we have
x^(p-1) = -1(modp)

We let p = 3 then we have
(x)^2 = -1(mod3)

which is equivalent to
x^2=3k -1

With the solutions
x= {sqrt(2), sqrt(5), sqrt(8), ...}

The solutions are not integers, which are undefined for the modulo operation. therefore x^2=-1(modp) have no solutions.

This is the wrong answer. I don't know
 
Physics news on Phys.org
It doesn't seem like you've tried using Fermat's little theorem yet.
 
Im struggling to see how to incorporate the information from FLT into the problem.
image.jpg
 
Can a moderator move this thread into the right subforum? Sorry, I should have posted this in the “calculus and beyond.“ section. Thanks
 
docnet said:
Homework Statement:: I'm having trouble solving this problem. any help would be appreciated.
Relevant Equations:: p = 3(mod4)
x^2 = -1(modp)

View attachment 269850

Here is my attempt

When we raise both sides to the power (p-1)/2, we get
x^(p-1)= -1^[(p-1)/2](modp)

Looking at p=3(mod4), the possible values of p are
{3, 7, 11, 19, 23, 31...}.

Putting these values of p into (p-1)/2 we get odd integers.
{1, 3, 5, 9, 11, 15...}.

So we have
x^(p-1) = -1(modp)

It would have been better to get here by setting p = 4k + 3 so that <br /> \frac{p - 1}{2} = \frac{4k + 2}{2} = 2k + 1 and hence (-1)^{(p-1)/2} = -1.
 
  • Like
Likes   Reactions: docnet
docnet said:
Im struggling to see how to incorporate the information from FLT into the problem.
View attachment 269890

You just need to substitute x^{p-1} \equiv 1 \mod p in <br /> x^{p-1} = -1 \mod p and draw the appropriate conclusion.
 
  • Like
Likes   Reactions: docnet

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
15
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
30
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K