MHB Coprime mod n implies coprime-ish mod n

  • Thread starter Thread starter Swlabr1
  • Start date Start date
Click For Summary
The discussion centers on the relationship between integers \(a\) and \(b\) under modular arithmetic, specifically when \(ap + bq \equiv 1 \mod n\). It is established that if \(\gcd(a, b) = 1\), then integers \(a', b', p',\) and \(q'\) can be found such that \(a'p' + b'q' = 1\). The method involves adjusting \(p\) and \(q\) by adding multiples of \(n\) to maintain the modular equivalence. However, the implications when \(\gcd(a, b) \neq 1\) remain unclear. Overall, the discussion emphasizes the conditions under which coprimality influences modular relationships.
Swlabr1
Messages
15
Reaction score
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
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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
27
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
13
Views
2K
Replies
48
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
1K
Replies
2
Views
3K
Replies
17
Views
3K
Replies
9
Views
2K