Question #58504

Suppose a prime can be written as p = x^2 + 5y^2. Show that
p ≡ 1 or 9 (mod 20). Assume that p > 5
1

Expert's answer

2016-03-18T15:48:05-0400

Answer on Question #58504 – Math – Combinatorics | Number Theory

Question

Suppose a prime can be written as p=x2+5y2p = x^2 + 5y^2. Show that p1p \equiv 1 or 9 (mod 20).

Assume that p>5p > 5.

Solution

Because pp is a prime, pp cannot be even, hence pp is odd.

We may assume that pp is an odd prime, greater than 5. Because p=x2+5y2p = x^2 + 5y^2 is odd, one of x2x^2, y2y^2 is odd, and the other is even.

Reducing p=x2+5y2mod5p = x^2 + 5y^2 \mod 5, we see p=x2(mod5)p = x^2 \pmod{5}, so pp is a quadratic residue mod 5 and thus p=1p = 1 or 4 (mod 5).

Reducing p=x2+5y2mod4p = x^2 + 5y^2 \mod 4, we see p=x2+y2(mod4)p = x^2 + y^2 \pmod{4}, so pp is a sum of two quadratic residues mod 4.

Since the quadratic residues mod 4 are 0 and 1, this rules out the possibility that p=3p = 3 (mod 4). Besides, p=0p = 0 (mod 4), p=2p = 2 (mod 4) are excluded, because pp is odd.

So p=1p = 1 or 4 (mod 5) and p=1p = 1 (mod 4), which means that p=1p = 1 or 9 (mod 20).

Check it.

Let


p=1+4kandp=1+5lorp=4+5m.p = 1 + 4k \quad \text{and} \quad p = 1 + 5l \quad \text{or} \quad p = 4 + 5m.


Suppose that p=1+4kp = 1 + 4k and p=1+5lp = 1 + 5l.

Then 1+4k=1+5l1 + 4k = 1 + 5l, 4k=5l4k = 5l, hence k=5tk = 5t, l=4ul = 4u.

This means that p=1+4k=1+45t=1+20tp = 1 + 4k = 1 + 4 \cdot 5t = 1 + 20t, p=1+5l=1+54u=1+20up = 1 + 5l = 1 + 5 \cdot 4u = 1 + 20u.

Finally obtain p=1p = 1 (mod 20).

Suppose that p=1+4kp = 1 + 4k and p=4+5mp = 4 + 5m.

Then 1+4k=4+5m1 + 4k = 4 + 5m, 4k44m=m14k - 4 - 4m = m - 1, 4n=m14n = m - 1, hence m=4n+1m = 4n + 1.

This means that p=4+5m=4+5(4n+1)=4+20n+5=9+20np = 4 + 5m = 4 + 5 \cdot (4n + 1) = 4 + 20n + 5 = 9 + 20n.

Finally obtain p=9p = 9 (mod 20).

Given p=1p = 1 or 4 (mod 5) and p=1p = 1 (mod 4), we came to p=1p = 1 or 9 (mod 20), which was to be proved.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS