Proof: p=1 mod 4 if p|x^2+1 Problem statement

  • MHB
  • Thread starter I like Serena
  • Start date
  • Tags
    Proof
In summary, the problem statement states that n is a whole number of the form n=x^2+1 with x \in Z, and p is an odd prime that divides n. The proof given shows that the only relevant case is if p=3 (mod 4) and that there is a contradiction if p is congruent to 3 mod 4. The conversation also includes a hint to determine the order of x in Z/pZ* and a proof of this concept. Finally, it is concluded that 4|(p-1), which is derived from Fermat's little theorem.
  • #1
I like Serena
Homework Helper
MHB
16,336
258
Problem statement

Let n be a whole number of the form [tex]n=x^2+1[/tex] with [tex]x \in Z[/tex], and p an odd prime that divides n.
Proof: [tex]p \equiv 1 \pmod 4[/tex].Attempt at a solution

The only relevant case is if p=3 (mod 4).

If I try to calculate mod 3, or mod 4, or mod p, I'm not getting anywhere.

Help?
 
Mathematics news on Phys.org
  • #2
ILikeSerena said:
Attempt at a solution

The only relevant case is if p=3 (mod 4).

If I try to calculate mod 3, or mod 4, or mod p, I'm not getting anywhere.

Help?

What? 3 isn't congruent to 1 mod 4. p = 5 would work since 5 is congruent to 1 mod 4 and 5|(x^2+1) when x = pm 2.

Now have can you show that if n is an integer such that p|n then p is congruent to 1 mod 4.

I don't know at the moment but I will think about it more.
 
  • #3
dwsmith said:
What? 3 isn't congruent to 1 mod 4. p = 5 would work since 5 is congruent to 1 mod 4 and 5|(x^2+1) when x = pm 2.

Now have can you show that if n is an integer such that p|n then p is congruent to 1 mod 4.

I don't know at the moment but I will think about it more.

Thanks for replying.

Since p is odd, it is either congruent to 1 or 3 mod 4.
If it is congruent to 1, we have what we need to proof.
So we need to proof that if p=3 mod 4 it would lead to a contradiction.

If we check for instance p=3, we can tell that x^2+1=1,2 mod 3, which is a contradiction (since p=0 mod 3).
With p=7, we can check all possibilities mod 7, which indeed also leads to a contradiction.
Same with p=11.

But how can we generalize this? :confused:
 
  • #4
I received a hint for this problem (a first year algebra problem btw).

It's:
Hint: determine the order of x in Z/pZ*.

I've got it! I've got it! :D
 
  • #5
ILikeSerena said:
I received a hint for this problem (a first year algebra problem btw).

It's:
Hint: determine the order of x in Z/pZ*.

I've got it! I've got it! :D
here's a proof which is essentially the same as you have pointed out but little more straight forward:

$x^2 +1 \equiv 0 \mod p$
$\Rightarrow x^2 \equiv -1 \mod p$ ----> we get order of $x$ mod $p$ is not 2.
$\Rightarrow x^4 \equiv 1 \mod p$. ----> one can now easily conclude that the order of $x$ mod $p$ is $4$.

Thus $4|(p-1)$. why? (hint: Fermat's little theorem).
 

FAQ: Proof: p=1 mod 4 if p|x^2+1 Problem statement

What does it mean for a number to be congruent to 1 modulo 4?

When we say that a number is congruent to 1 modulo 4, it means that when we divide the number by 4, the remainder is 1.

Why is the proof of p=1 mod 4 important?

The proof of p=1 mod 4 is important because it helps us determine if a number is a prime number or not. This is because all prime numbers that are congruent to 1 modulo 4 can be expressed as the sum of two squares, which is a useful property in number theory.

How does the proof of p=1 mod 4 relate to complex numbers?

The proof of p=1 mod 4 is related to complex numbers because it helps us understand the structure of the Gaussian integers, which are complex numbers of the form a+bi, where a and b are integers. This is because for a prime number to be congruent to 1 modulo 4, it must also be a Gaussian prime.

Can you provide an example of a prime number that satisfies p=1 mod 4?

Yes, an example of a prime number that satisfies p=1 mod 4 is 5. When we divide 5 by 4, the remainder is 1, making it congruent to 1 modulo 4. Additionally, 5 can be expressed as the sum of two squares: 5=2^2+1^2.

Is there a relationship between p=1 mod 4 and p=3 mod 4?

Yes, there is a relationship between p=1 mod 4 and p=3 mod 4. If a prime number is congruent to 1 modulo 4, it cannot be congruent to 3 modulo 4, and vice versa. This is because a number cannot have remainders of both 1 and 3 when divided by 4. This relationship is important in understanding the distribution of prime numbers.

Similar threads

Replies
1
Views
1K
Replies
1
Views
2K
Replies
5
Views
2K
Replies
1
Views
615
Replies
3
Views
1K
Back
Top