4 7 6 x y 0
The above 6-digit integer is divisible by both 3 and 11. Which of the following is a possible choice for x and y ?
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.
In method 1 , case 2 you made a typing error, please check it.
Bonus pairs (5,2) and (1,9) from divisibility rules we find that y-x must = 8 or -3 and (x+y)/3 must have a remainder of 1.
A solution can be found by the Chinese Remainder Theorem. In fact, ALL solutions for x and y can be found by this theorem.
{ 4 7 6 0 0 0 + x ≡ 0 m o d 3 4 7 6 0 0 0 + x ≡ 0 m o d 1 1 ⟹ { x ≡ 1 m o d 3 x ≡ 3 m o d 1 1
By the Extended Euclidean Algorithm:
1 1 3 = 3 ⋅ 3 + 2 = 1 ⋅ 2 + 1 2 1 = 1 1 − 3 ⋅ 3 = 3 − 2 = 3 − ( 1 1 − 3 ⋅ 3 ) = 4 ⋅ 3 − 1 1
Hence, 3 − 1 ≡ 4 m o d 1 1 . The Chinese Remainder Algorithm provides the following solution for x :
x ≡ 1 + 4 ⋅ 3 ⋅ ( 3 − 1 ) ≡ 2 5 m o d 3 3
Hence, x ≡ 2 5 + k ⋅ 3 3 ≡ 0 m o d 1 0 , where k ∈ Z . It immediately follows that k ⋅ 3 3 ≡ 5 m o d 1 0 . Again, by the Extended Euclidean Algorithm:
3 3 1 0 = 3 ⋅ 1 0 + 3 = 3 ⋅ 3 + 1 3 1 = 3 3 − 3 ⋅ 1 0 = 1 0 − 3 ⋅ 3 = 1 0 − 3 ( 3 3 − 3 ⋅ 1 0 ) = 4 ⋅ 1 0 − 3 ⋅ 3 3
Hence, 3 3 − 1 ≡ − 3 ≡ 7 m o d 1 0 . Thus, k ≡ 7 ⋅ 5 ≡ 3 5 ≡ 5 m o d 1 0 . This can be written as k = 5 + m ⋅ 1 0 , where m ∈ Z .
k values for the original question which do not alter the 4 given digits are k = 5 , 1 5 , 2 5 .
Substituting this back into x = 2 5 + k ⋅ 3 3 , we obtain x = 1 9 0 , 5 2 0 , 8 5 0 . Substituting again for the original question provides 4 7 6 1 9 0 , 4 7 6 5 2 0 and 4 7 6 8 5 0 . These values fulfil the requirements of the question.
In terms of ( x , y ) pairs, ( 1 , 9 ) , ( 5 , 2 ) and ( 8 , 5 ) are solutions.
Woahhh this is very neat! +1
If it is divisible by 3, then the sum of all the digits should be divisible by 3. Only case two qualifies.
Problem Loading...
Note Loading...
Set Loading...
Method 1 : Trial and error.
If the 6-digit number is divisible by both 3 and 11, then it is divisible by 3 × 1 1 = 3 3 .
Since there are only 3 options to choose, let's just try out each case.
Case 1 : x = 7 , y = 5 , then the 6-digit number is 4 7 6 7 5 0 , a long division shows that it is not divisible by 33. So x = 7 , y = 5 cannot be a solution.
Case 2 : x = 8 , y = 5 , then the 6-digit number is 4 7 6 8 5 0 , a long division shows that it is divisible by 33. So x = 8 , y = 5 can be a solution.
Case 3 : x = 7 , y = 4 , then the 6-digit number is 4 7 6 7 4 0 , a long division shows that it is not divisible by 33. So x = 7 , y = 4 cannot be a solution.
Thus the answer is x = 8 , y = 5 .
Method 2 : Apply Divisiblity rules .
If a number is divisible by 3, then the sum of digits of that number is divisible by 3 as well, 4 + 7 + 6 + x + y + 0 = x + y + 1 7 is divisible by 3. Looking at the options tells us that either x = 8 , y = 5 is the only possible solution.
However, let's double check by confirming that it's divisible by 11 as well. If a number is divisible by 11, then the alternating sum of digits of that number is divisible by 11 as well, 4 − 7 + 6 − x + y − 0 = − x + y + 3 is divisible by 11. Substituting x = 8 , y = 5 shows that it is indeed true.
Thus, among all these three choices, only x = 8 , y = 5 is the possible solution.
Bonus : Can you find the other two pairs of digits ( x , y ) satisfying this constraint?