My teacher was proving the identity $$\gcd(t^m -1 , t^n -1 ) = t^{\gcd(m,n)}-1 $$
he first assumes by induction this rule is true and uses the 'n-m' case, I think to prove it. $$\gcd(t^m -1 , t^{n-m} -1 ) =t^{\gcd(m,n-m)}-1 $$ and consequently we use that $\gcd(m,n-m)=\gcd(m,n)$ to show that $$\gcd(t^m -1 , t^{n-m} -1 ) =t^{\gcd(m,n)}-1 = \gcd(t^m -1 , t^{n} -1 ) $$ which should "be true" since $$\gcd(t^m -1 , t^{n-m} -1 ) =\gcd(t^m -1 , t^{n} -1 ) $$ from the proof he presented immediately beforehand in the lecture.
I am somewhat confused as to how this proves the identity, since I can build different rules that still " work", like $\log(\gcd(n,m))$ or something. like I could repeat the argument saying that $$\gcd(t^m -1 , t^{n-m} -1 ) = \log(\gcd(m,n-m)) = \log(\gcd(m,n)) = \gcd(t^m -1 , t^{n} -1 ) $$
Then he moves on.
I guess I'm kind of confused as to how the "$n+1$"-th step comes in here.
Is it still valid to have increments of "$m$" instead of $1$? But even if this is ok, I can still use my "log" identity which is incorrect.
I'm not sure what I am doing wrong or what I am not seeing; assistance would be appreciated.
edit: the base case for the identity is easy to prove so I forwent it in the above
edit 2: my issue to clarify was why the "guess" of $ t^{\gcd(m,n)} -1 $ is unique/special. After spending another minute thinking about this I realized that it clearly has to be another polynomial; I guess no other polynomial-guess satisfies the base condition of n=1?
edit 3: with another bit to think about it, it's clear that the guess has to be of the form $ t^k - 1$ and that the form of $k$ should be $\gcd(m,n)$ to fit the conditions above (I suppose there's some simple proof to show the only factors of $t^j - 1$ must be of that form, so that must be your guess) (thank you Sirous!)
the remaining doubt I have is how in the proof you can do induction in what appears to be steps of "$m$" instead of a step of "$1$".