Let R be a commutative ring with identity, and J an ideal generated by the members $a^n-1$ and $a^m-1$ for some $a \in R$ and $n, m$ positive integers.
I want to establish that the principal ideal generated by $a^d - 1$ where $d = gcd(m, n)$ (lets call it $I$) is infact equal to $J$.
Since I am not necessarily dealing with an integral domain (e.g. I could have zero divisors) and in particular its not necessarily a GCD domain, I do not get gcd-like elements "for free".
However, assuming $n > m$, I can express $a^n -1$ in terms of a linear combination (in $R$) of $a^{n-m}-1$ and $a^m-1$ and similary can express $a^{n-m}-1$ in terms of $a^n-1$ and $a^m-1$. Therefore the subring (ideal) generated by $(a^n-1, a^m-1)$ is the same as the one generated by $(a^{n-m}-1, a^m-1)$. I can now continue this downward iteration in similar fashion to the euclidean algorithm for finding GCD, and end up at a pair that looks like $(a^{gcd(m, n)}-1, a^{gcd(m, n)}-1)$ whence I deduce that the ideal generated by $a^d-1$ is the same as the one generated by $a^{n-m}-1$ and $a^m-1$.
Assuming we take the validity of the euclidean algorithm for finding an integral gcd as a given, does this reasoning apply? I am skeptical of my own way since I worry that there is a detail to do with possibility of zero divisors, and also the original question posed to me suggests a more roundabout route of establishing that $a$ is a unit in the quotient ring R/J and has order that is multiple of $d$ with respect to the multiplicative group of units in that quotient ring.
solution-verificationquestion 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 May 11 '24 at 03:05