Show GCD of x,y,z is 1: Wave Hello!

  • MHB
  • Thread starter evinda
  • Start date
  • Tags
    Gcd
In summary: Thus $p^2 \mid y^2$.Thus we can conclude that $p \mid y^2$.In summary, we have shown that $x$ is odd and $y$ even, and that $p$ is the prime number that satisfies these conditions.
  • #1
evinda
Gold Member
MHB
3,836
0
Hello! (Wave)

We suppose that the integers $x,y,z$ satisfy $x^2+2y^2=z^2$ and $(x,y)=1$ . I want to show that $(x,z)=(y,z)=1$, and that $x$ is odd and $y$ even.

I have tried the following:

Let $(x,z)=d>1$. Then there exists a prime number $p$ such that $p \mid d$.
Since $d \mid x$ and $d \mid z$, we get that $p \mid x$ and $p \mid z$. So $p \mid x^2$, $p \mid z^2$.
Thus $p \mid z^2-x^2=2y^2$. But then how can we deduce that $p \mid y^2$, so that we could get a contradiction? (Thinking)
 
Mathematics news on Phys.org
  • #2
First show that $x$ is odd. Suppose it was even. Then $x^2+2y^2=z^2\implies z$ would be even; hence $z^2=x^2+2y^2$ would be divisible by $4$; hence $y$ would be even. (If $y$ were odd, $x^2+2y^2\equiv2\pmod4$.) Hence $x$ and $y$ would be both even, contradicting $\gcd(x,y)=1$. Thus $x$ must be odd.

Therefore the $p$ in your working must be odd (since it divides $x$, which is odd). Then $p\mid2y^2$ should imply $p\mid y^2$, giving your contradiction. Showing that $\gcd(y,z)=1$ is similar (and more straightforward).

Finally, note that $x$ odd $\implies\ x^2\equiv1\pmod8$. If $y$ were odd, then $z^2=x^2+2y^2\equiv3\pmod8$, which is impossible.
 
Last edited:
  • #3
Olinguito said:
First show that $x$ is odd. Suppose it was even. Then $x^2+2y^2=z^2\implies z$ would be even;



$z^2$ would be even and this would imply that $z$ is even, right? (Thinking)

Olinguito said:
(If $y$ were odd, $x^2+2y^2\equiv2\pmod4$.)

Wouldn't we have that $x^2+2y^2 \equiv 3 \pmod{4}$ ?
 
  • #4
evinda said:
$z^2$ would be even and this would imply that $z$ is even, right? (Thinking)
That is right. (Smile)

evinda said:
Wouldn't we have that $x^2+2y^2 \equiv 3 \pmod{4}$ ?
No, at this juncture we are assuming $x$ is even to get a contradiction.
 
  • #5
evinda said:
Hello! (Wave)

We suppose that the integers $x,y,z$ satisfy $x^2+2y^2=z^2$ and $(x,y)=1$ . I want to show that $(x,z)=(y,z)=1$, and that $x$ is odd and $y$ even.

I have tried the following:

Let $(x,z)=d>1$. Then there exists a prime number $p$ such that $p \mid d$.
Since $d \mid x$ and $d \mid z$, we get that $p \mid x$ and $p \mid z$. So $p \mid x^2$, $p \mid z^2$.

Hey evinda!

As an alternative to Olinguito's approach, let's follow your reasoning a bit further.
We also have more specifically that $p^2 \mid x^2$ and $p^2 \mid z^2$, don't we? (Wondering)

evinda said:
Thus $p \mid z^2-x^2=2y^2$. But then how can we deduce that $p \mid y^2$, so that we could get a contradiction? (Thinking)

Thus $p^2 \mid 2y^2$.
If $p=2$ we must have $p\mid y$, and otherwise we must also have that $p\mid y$, don't we? (Wondering)
 

FAQ: Show GCD of x,y,z is 1: Wave Hello!

What is the meaning of "Show GCD of x,y,z is 1: Wave Hello!"?

The phrase "Show GCD of x,y,z is 1: Wave Hello!" is a mathematical statement that is asking you to find the greatest common divisor (GCD) of three numbers, x, y, and z, and show that it equals 1. The "Wave Hello!" part is likely just a fun way to present the problem.

What is a GCD?

GCD stands for greatest common divisor and is the largest number that divides evenly into two or more numbers. It is also known as the greatest common factor (GCF).

How do I find the GCD of three numbers?

One way to find the GCD of three numbers is to list all of the factors of each number and then find the largest number that appears in all three lists. Another method is to use the Euclidean algorithm, which involves repeatedly dividing the larger number by the smaller number until the remainder is 0.

Why is it important to show that the GCD is 1?

Showing that the GCD of three numbers is 1 is important because it means that the three numbers do not share any common factors (besides 1). This is particularly useful in simplifying fractions, as it indicates that the fraction is already in its simplest form.

What are some real-life applications of finding the GCD?

Finding the GCD can be useful in various mathematical and engineering applications, such as simplifying fractions, finding the lowest common denominator in adding or subtracting fractions, and determining the smallest number of equal-sized groups that can be made from a given number of items. It is also used in cryptography to generate public and private keys for secure communication.

Back
Top