I implemented Extended Euclid Algorithm in c++ to solve this problem. Any approaches that you could it by hand.
$\gcd(61^{610}+1,61^{671}-1)=\ ?$
Thanks in advance.
I implemented Extended Euclid Algorithm in c++ to solve this problem. Any approaches that you could it by hand.
$\gcd(61^{610}+1,61^{671}-1)=\ ?$
Thanks in advance.
You should definitely use Euclid's algorithm (but you won't need the extended version); it's just you also need some more insight into the numbers you're working with. Define $n:=61^{61}$ so your problem is computing $$(n^{11}-1,\,n^{10}+1)=(n^{10}+1,\,n+1)=(n+1,\,2)=2.$$