Coprime mod n implies coprime-ish mod n

  • MHB
  • Thread starter Swlabr1
  • Start date
In summary, the conversation discusses the existence of integers $a'$, $b'$, $p'$, and $q'$ such that $a'p' + b'q' = 1$ if $a$ and $b$ are coprime mod $n$. It is stated that if $a$ and $b$ are coprime, then such integers do exist. However, it is uncertain what happens if $\gcd(a,b) \neq 1$.
  • #1
Swlabr1
15
0
Let $a$ and $b$ be two integers such that there exists integers $p$, $q$ with $ap+bq=1\text{ mod }n$. Do there exist integers $a^{\prime}$ $b^{\prime}$, $p^{\prime}$ and $q^{\prime}$ such that, $x^{\prime}=x\text{ mod }n$ for $x\in\{a, b, p, q\}$ and, $$a^{\prime}p^{\prime}+b^{\prime}q^{\prime}=1?$$
 
Physics news on Phys.org
  • #2
Re: Coprime mod $n$ implies coprime-ish mod $n$

Swlabr said:
Let $a$ and $b$ be two integers such that there exists integers $p$, $q$ with $ap+bq=1\text{ mod }n$. Do there exist integers $a^{\prime}$ $b^{\prime}$, $p^{\prime}$ and $q^{\prime}$ such that, $x^{\prime}=x\text{ mod }n$ for $x\in\{a, b, p, q\}$ and, $$a^{\prime}p^{\prime}+b^{\prime}q^{\prime}=1?$$

If $\gcd (a,b)=1$ then yes.

$ap+bq \equiv 1 \mod n$ means there exist integer $\gamma$ such that $ap + bq+n \gamma =1$ . If $\gcd (a, b)=1$ then $\exists k_1, k_2$ such that

$ak_1+bk_2=\gamma$.

Take $a{'} =a, b{'}=b, p{'}=p+nk_1, q{'}=q+nk_2$

Then $a{'}b{'} +b{'}q{'}=1$

I am not sure what happens when $\gcd (a,b) \neq 1$.

Hope this helps.
 

Related to Coprime mod n implies coprime-ish mod n

1. What does it mean for two numbers to be coprime mod n?

Two numbers, a and b, are said to be coprime mod n if their greatest common divisor (GCD) is equal to 1 when divided by n. This means that when both a and b are divided by n, there is no remainder or common factor between them.

2. What does "coprime-ish" mod n mean?

"Coprime-ish" mod n is a less strict version of coprime mod n. It means that although a and b may not have a GCD of 1 when divided by n, their GCD is still relatively small compared to n. This could suggest that a and b share some common factors, but not enough to significantly affect their relationship mod n.

3. Are all coprime numbers also coprime-ish mod n?

Yes, all coprime numbers are also coprime-ish mod n. This is because when two numbers have a GCD of 1, it means they have no common factors. Therefore, their GCD will always be smaller than any fixed number, such as n, making them coprime-ish mod n.

4. Can two numbers be coprime-ish mod n if they are not coprime mod n?

Yes, two numbers can be coprime-ish mod n even if they are not coprime mod n. This is because coprime-ish mod n allows for a slightly larger GCD compared to coprime mod n. As long as the GCD is relatively small compared to n, the numbers can still be considered coprime-ish mod n.

5. How is the concept of "coprime-ish" mod n useful in science?

The concept of "coprime-ish" mod n is useful in various scientific fields, such as cryptography and number theory. It allows for a more flexible definition of coprime numbers, which can be helpful in solving problems involving modular arithmetic and prime numbers. It also has applications in coding theory and signal processing.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
747
  • Precalculus Mathematics Homework Help
Replies
27
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
930
  • Linear and Abstract Algebra
Replies
2
Views
1K
Replies
13
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
0
Views
1K
Back
Top