R.I.P. Calculators!

Find the GCD of ( 3 625 1 ) ({\color{#D61F06} {3}}^{625}-1) , ( 9 200 1 ) ({\color{#3D99F6} {9}}^{200}-1) and ( 81 25 1 ) ({\color{#20A900} {81}}^{25}-1) .

Notation : gcd ( ) \gcd(\cdot) denotes the greatest common divisor function.


Want some interesting questions like this? Enter the world where Calculators will not help .
3 100 3 5 {3}^{100}-{3}^{5} 3 25 1 {3}^{25}-1 3 5 3 {3}^{5}-3 GCD not possible. 3 125 3 25 {3}^{125}-{3}^{25} Cannot be determined

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Swapnil Das
Jun 14, 2016

Fast algorithm : gcd ( a x 1 , a y 1 , a z 1 ) = ( a gcd ( x , y , z ) 1 ) \large \text{gcd}({ a }^{ x }-1,{ a }^{ y }-1,{ a }^{ z }-1)=({ a }^{\text{ gcd}(x,y,z) }-1) .

\therefore gcd ( 3 625 1 , 3 400 1 , 3 100 1 ) = ( 3 gcd ( 625 , 400 , 100 ) 1 ) = 3 25 1 \text{gcd}({ 3 }^{ 625 }-1,{ 3 }^{ 400 }-1,{ 3 }^{ 100 }-1)=({ 3 }^{\text{ gcd}(625,400,100) }-1)={ 3 }^{ 25 }-1 .

Great.! (+1)

Abhay Tiwari - 5 years ago

same method...............

Abhisek Mohanty - 4 years, 12 months ago

Or directly check the largest power of 3 which divides all powers 😂😂😂😂😂;);():P

A Former Brilliant Member - 4 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...