Solving x^2=1 (mod pq) with Odd Primes

  • Thread starter Thread starter pupeye11
  • Start date Start date
  • Tags Tags
    Primes
Click For Summary
SUMMARY

The discussion focuses on solving the equation x^2=1 (mod pq) where p and q are distinct odd primes. It establishes that there are exactly two solutions modulo p for any odd prime p, derived from the factorization of x^2-1. The participants confirm that for each prime, the solutions can be paired, leading to four combinations for the primes p=17 and q=23. The final task involves computing integers modulo 391 (the product of 17 and 23) that satisfy the original equation, verifying that each computed integer is indeed a solution.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with prime numbers and their properties
  • Knowledge of the difference of squares factorization
  • Basic skills in solving congruences
NEXT STEPS
  • Explore the Chinese Remainder Theorem for solving systems of congruences
  • Study the properties of quadratic residues in modular arithmetic
  • Learn about the implications of Fermat's Little Theorem in modular equations
  • Investigate applications of modular arithmetic in cryptography
USEFUL FOR

Students studying number theory, mathematicians interested in modular arithmetic, and educators teaching concepts related to primes and congruences.

pupeye11
Messages
99
Reaction score
0

Homework Statement



The idea of this problem is to investigate the solutions to x^2=1 (mod pq), where p,q are distinct odd primes.

(a) Show that if p is an odd prime, then there are exactly two solutions (mod p) to x^2=1 (mod p). (Hint: difference of two squares)

(b) Find all pairs (a,b) such that a^2=1 (mod p) and b^2=1 (mod q)

(c) Let p=17 and q=23. For each pair (a,b) from part (b), compute an integer x modulo 17*23 such that x=a(mod 17) and x=b(mod 23)

(d) Verify that each integer found in part (c) is a solution to x^2=1 (mod 17*23)

The Attempt at a Solution



For part (a), rewrite it as x^2-1= 0 (mod p). Then that splits into (x+1)(x-1)= 0 (mod p). which can be further split into (x+1)= 0 (mod p) and (x-1)= 0 (mod p). Then since p is an odd prime x= -1+p (mod p) cannot equal x=1 (mod p) so there are exactly two solutions.

I have no idea where to start on (b) though.
 
Physics news on Phys.org
(b) looks like it follows immediately from (a) to me. You know the 2 solutions for a and the 2 solutions for b, which should give you 4 pairs, I think.
 
Yup, I don't know why I didn't see that right away. Thanks!
 

Similar threads

Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
5
Views
3K