If the positive integral solutions satisfy the system of congruences, such that , input the sum of all possible values of as your answer.
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.
The four numbers 1 2 3 4 − r , 2 3 4 0 − r , 3 4 4 6 − r , 5 5 0 0 − r are all divisible by n .
Then, the difference between any 2 of these 4 numbers above are all also divisible by n .
We have ( 2 3 4 0 − r ) − ( 1 2 3 4 − r ) = 1 1 0 6 m o d n = 0 , ( 5 5 0 0 − r ) − ( 3 4 4 6 − r ) = 2 0 5 4 m o d n = 0
In other words, both 1106 and 2054 are multiples of n .
Since 1 1 0 6 = 2 × 7 × 7 9 , all the factors of 1106 are 1 , 2 , 7 , 1 4 , 7 9 , 1 5 8 , 5 5 3 , 1 1 0 6 .
Similarly, 2 0 5 4 = 2 × 1 3 × 7 9 , all the factors of 2054 are 1 , 2 , 1 3 , 2 6 , 7 9 , 1 5 8 , 1 0 2 7 , 2 0 5 4 .
We have narrowed down the possible values of n to 1 , 2 , 7 9 , 1 5 8 .
However, if n = 1 , then r = 0 is forced, but this we want a positive remainder r . So n = 1 is rejected. We reject n = 2 for the same reason.
We are left with n = 7 9 , 1 5 8 .
Performing long division shows that when 1 2 3 4 , 2 3 4 0 , 3 4 4 6 , 5 5 0 0 are all divided by 79, the remainders are all equal to 49.
Analogously, performing long division shows that when 1 2 3 4 , 2 3 4 0 , 3 4 4 6 , 5 5 0 0 are all divided by 158, the remainders are all equal to 128.
Hence, all the possible values of ( r , n ) are ( 4 9 , 7 9 ) , ( 1 2 8 , 1 5 8 ) . The answer is 4 9 + 7 9 + 1 2 8 + 1 5 8 = 4 1 4 .
Too much work? Just want to write a script? Here you go: