A cyclotomic generalization of the sequence \gcd (a^n-1,b^n-1)