-1

How to calculate $\gcd$ of $5^{2^{303} - 1} - 1$ and $5^{2^{309} - 1} - 1$?

I stumbled upon this interesting problem and tried elementary algebraic simplification and manipulation. But found no success.

1 Answers1

2

Hint:

$$gcd(5^a - 1,5^b -1) = 5^{gcd(a,b)} -1$$

kayush
  • 2,441