0

Let $n \in \Bbb{Z_+}$, and $a \in \Bbb{Z}_n$.

for $t = \frac{n}{\operatorname{gcd}(a,n)}$ and $m \in \Bbb{Z}_+$, prove that if $am \equiv 0 \,(\operatorname{mod} \,n)$

then: $t\,\vert\,m$ (there exists $k$ such that $m = tk$)

Here is what I tried:

if $am \equiv 0 \,(\operatorname{mod} \,n)$ then there exists a $k \in \Bbb{Z}$ such that $am = nk$.

From $t = \frac{n}{\operatorname{gcd}(a,n)}$ we get that $n = t \cdot \operatorname{gcd}(a,n)$.

Put that in what we got: $\quad am = t \cdot \operatorname{gcd}(a,n) \cdot k$.

Divide both sides by $a$ ( that is the questionable choice im not sure is correct).

We get $m = t \cdot ( \operatorname{gcd}(a,n) \cdot k \cdot (1/a))$.

now we choose a $k$ such that $( \operatorname{gcd}(a,n) \cdot k \cdot (1/a)) \in \Bbb{Z}$ and we get $t \,\vert\, m$.

is this correct?

  • 1
    That was correct up to the last line. $k$ was determined when you said "there exists a $k\in \mathbb Z$ so that $am=nk$". After that $k$ is set and you can not choose it to be anything else. So you need to prove for THAT $k$ that $\frac {gcd(a,n)k}a \in \mathbb Z$. You can't just choose one that works. – fleablood Jan 07 '24 at 17:43
  • I edited your question to format everything in MathJax. Try to use MathJax to format your questions in the future, as it makes is easier to read. – soggycornflakes Jan 07 '24 at 18:01
  • For a solution-verification question to be on topic you must specify precisely which step in the proof you question, and why so. This site is not meant to be used as a proof checking machine. – Bill Dubuque Jan 07 '24 at 19:05

0 Answers0