Question

Say that x^2 = y^2 mod n, but x != y mod n and x !=...

Say that x^2 = y^2 mod n, but x != y mod n and x != −y mod n.

Show that 1 = gcd(x − y, n) implies that n divides x + y, and that this is not possible, Show that n is non-trivial

Homework Answers

Answer #1

x² = y² (mod n) implies, n | (x² - y²)

So, n | (x-y)(x+y) ...... (*)

Now, it is given that, x y (mod n) & x - y (mod n)

Now, if 1 = gcd(x-y, n), then, n does not divide (x-y)

Again, from (*) we have, n | (x-y)(x+y)

So, by Euclid's lemma, since, n doesn't divide (x-y), we must have, n | (x+y), which contradicts x - y (mod n)

So this is not possible. Hence n is non-trivial

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Prove the Basic Principal of Difference of squares: If x2 ≡ y2 (mod n) and x...
Prove the Basic Principal of Difference of squares: If x2 ≡ y2 (mod n) and x is not ± y, where x and y lie in the range {0, … , n-1}, then n is composite and has gcd(x-y, n) as a non-trivial factor.
Prove the Basic Principal of Difference of squares: If x2 ≡ y2 (mod n) and x...
Prove the Basic Principal of Difference of squares: If x2 ≡ y2 (mod n) and x is not ± y, where x and y lie in the range {0, … , n-1}, then n is composite and has gcd(x-y, n) as a non-trivial factor.
In this question we show that we can use φ(n)/2. Let n = pq. Let x...
In this question we show that we can use φ(n)/2. Let n = pq. Let x be a number so that gcd(x, n) = 1. Show that x φ(n)/2 = 1 mod p and x φ(n)/2 = 1 mod q, Show that this implies that and x φ(n)/2 = 1 mod n
Answer the following question: 1. a. Use an affine cipher x 7→ 3x + 1 (mod...
Answer the following question: 1. a. Use an affine cipher x 7→ 3x + 1 (mod 26) to encode “Baltimore”. b. Let a and b be integers. What does it mean to say a divides b? Provide a precise definition and include the proper notation. c. Let a, b, c, and n be integers with n 6= 0. Suppose that a ≡ b (mod n) and b ≡ c (mod n). Prove that a ≡ c (mod n). d. Use...
1. Write a proof for all non-zero integers x and y, if there exist integers n...
1. Write a proof for all non-zero integers x and y, if there exist integers n and m such that xn + ym = 1, then gcd(x, y) = 1. 2. Write a proof for all non-zero integers x and y, gcd(x, y) = 1 if and only if gcd(x, y2) = 1.
We say that x is the inverse of a, modulo n, if ax is congruent to...
We say that x is the inverse of a, modulo n, if ax is congruent to 1 (mod n). Use this definition to find the inverse, modulo 13, of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. Show by example that when the modulus is composite, that not every number has an inverse.
The Diffie-Hellman equations are Y(A)=. α X(A) mod q and K=Y(B) X(A) mod q.  Y(A) and  Y(B)  are the...
The Diffie-Hellman equations are Y(A)=. α X(A) mod q and K=Y(B) X(A) mod q.  Y(A) and  Y(B)  are the public keys of A and B; X(A) is the private key of A; K is the shared key, α is a primitive root of q. Suppose that q=13,  α=2, X(A)=2 and Y(B)=4. Find the followings: (Showing your work) A’s public key The shared key
Exercise 6.4. We say that a number x divides another number z if there exists an...
Exercise 6.4. We say that a number x divides another number z if there exists an integer k such that xk = z. Prove the following statement. For all natural numbers n, the polynomial x − y divides the polynomial x n − y n.
Implement code convertor Y=(X+2) mod 4 using decoder and encoder. Y and X are 2 bit...
Implement code convertor Y=(X+2) mod 4 using decoder and encoder. Y and X are 2 bit numbers.
Let X ~ N (1, 2^2) and Y ~ N (2, 2^2). Suppose that X and...
Let X ~ N (1, 2^2) and Y ~ N (2, 2^2). Suppose that X and Y are independent. Let U = X + Y and V = X ̶Y. Show that U and V are independent normal random variables. Find the distribution of each of them.