Is this question complete or is something missing?Show that x^2+1=0 (mod p), where p is prime, has a solution iff p=1 (mod 4)
[imath]x^2+1 \equiv 0 \mod 7[/imath] has no integer solutions, but [imath]p \equiv 5 \equiv 1 \mod 4[/imath] does.\(\displaystyle x^2+1 = 7\) has a solution BUT \(\displaystyle p\neq1(mod 4)\).
Can you please state your solution?Is this question complete or is something missing?
Suppose \(\displaystyle p=7=0(mod7)\), ie \(\displaystyle p\) is prime.
\(\displaystyle x^2+1 = 7\) has a solution BUT \(\displaystyle p\neq1(mod 4)\).
Contradiction! Disproven.
Who said anything about integer solutions? That's why I asked if the question is complete.[imath]x^2+1 \equiv 0 \mod 7[/imath] has no integer solutions, but [imath]p \equiv 5 \equiv 1 \mod 4[/imath] does.
A counter example would be [imath]p=2[/imath], but the question is valid for odd primes.
Number theory is the study of integers, thus it implicitly implies integer solutions. However, I agree it should explicitly read "odd prime".Who said anything about integer solutions? That's why I asked if the question is complete.
Then shouldn't the question read "Show that x^2+1=0 (mod p), where p is an odd prime, has an integer solution iff p=1 (mod 4)."
Yeah fair enough.Number theory is the study of integers, thus it implicitly implies integer solutions. However, I agree it should explicitly read "odd prime".
Modulo arithmetic is all about integers.Who said anything about integer solutions? That's why I asked if the question is complete.
Then shouldn't the question read "Show that x^2+1=0 (mod p), where p is an odd prime, has an integer solution iff p=1 (mod 4)."
[imath]\pi \equiv 0.14159265358979312... \;mod\; 1[/imath]Modulo arithmetic is all about integers.
Has that been stated in any textbook/reference - explicitly.Modulo arithmetic is all about integers
...i.e. [imath]x \equiv y \;\mod\; m \Leftrightarrow \frac{x-y}{m}=k[/imath] for some integer [imath]k[/imath], but [imath]x[/imath], [imath]y[/imath] and [imath]m[/imath] don't have to be integer.[imath]\pi \equiv 0.14159265358979312... \;mod\; 1[/imath]