Prove it like a Number Theorist!

Find the largest number that will divide 398 398 , 436 436 , 542 542 leaving remainders 7 7 , 11 11 and 15 15 .


The answer is 17.

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
Apr 16, 2016

Statement : The largest number that will divide x x , y y and z z leaving remainders p p , q q and r r respectively is equal to gcd ( x p , y q , z r ) \text{gcd}(x-p, y-q, z-r) .

  • Prove it like a Number Theorist!

Just write the prime factorization of x-p,y-q and z-r. Since we are looking for the greater number that divides all three of them, we want to choose the highest power of each common prime.

The number we want is the product of the highest power of each common prime. This is same as finding their GCD.

A Former Brilliant Member - 5 years, 2 months ago

Log in to reply

A simpler way would be to note that if x , y , z x,y,z leave remainders p , q , r p,q,r when divided by an integer m m , then m m divides each of x p , y q , z r x-p,y-q,z-r . By definition of gcd \gcd , we have m gcd ( x p , y q , z r ) m\mid\gcd(x-p,y-q,z-r) from which it directly follows that max ( m ) = gcd ( x p , y q , z r ) \max(m)=\gcd(x-p,y-q,z-r) since the greatest divisor of any positive integer is that integer itself.

From this, it also follows that if { a i } 1 n \{a_i\}_1^n and { r i } 1 n \{r_i\}_1^n be two sequences of integers such that a i r i ( m o d m ) 1 i n a_i\equiv r_i\pmod{m}~\forall~1\leq i\leq n for some integer m m , then max ( m ) = gcd ( a 1 r 1 , a 2 r 2 , , a n r n ) \max(m)=\gcd(a_1-r_1,a_2-r_2,\ldots,a_n-r_n)

Prasun Biswas - 5 years ago

Log in to reply

Your comments are always helpful, thanks!

Swapnil Das - 5 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...