a. Yes. Since s,t=0, s2+t2≥2. Let p be any prime divisor of s2+t2. If p∣t, then p∣s, and so gcd(s,t)≥p. This shows (s,t) is good. If p∤t, then there exists k∈Z+ such that tk≡−s(modp). Then we have p∣s+kt. Also, we have
t−ks=t−(−t−1s)s=t−1(t2+s2)≡0(modp).
Thus, gcd(s+kt,t−ks)≥p. This shows (s,t) is a good pair as we can apply k moves to (s,t) to obtain (s+kt,t−ks).
b. Let gcd(s,t)=d. By Bézout's identity, there exist m,n∈Z such that ms+nt=d. We claim that the pair (m,n) is not good.
After k moves, the pair becomes (m+kt,n−ks). If there exists a prime p dividing both m+kt and n−ks, then
p∣(m+kt)ds+(n−ks)dt=dms+nt=1.
This is impossible. Therefore, gcd(m+kt,n−ks)=1 for any k. This proves our claim.