amanvermagmat
A positive integer X is a six digit number of the form ababbb where a and b are distinct digits. What is the value of a?
(1) X is divisible by 9.
(2) X is divisible by each integer from 1 to 5.
Posted from my mobile device
Question stem:- b=?
St1:- X is divisible by 9
When sum of all the digits of an integer is divisible by 9, then the integer is divisible by 9.
2a+4b=9k, where k>1 (\(a\neq0\))
a) a=1, b=4
b) a=9, b=0
So many (a.b) pairs possible.
Insufficient.
St2:- X is divisible by each integer from 1 to 5.
a) when the unit digit of any number is zero, then that number is divisible by at least 1,2 ,and 5.
b) when the last two digits of a number is divisible by 4, then that number is divisible by 4. Since, here the last two digits are 'b'. So '00' is divisible by 4.
c) when the sum of all the digits of an integer is divisible by 3, then the integer is divisible by 3. Now a can be
3 or
6 or
9.
Or, six digit number is divisible by LCM(1,2,3,4,5)=120. So, unit digit has to be 0. Or, b=0.
Insufficient.
Combining, the only possibility of (a.b) is (9,0).
Ans. (C)
can you please elaborate on statement one, the highlihted part. i didnt get the logic behind it 2a+4b=9k is it some formula for checking divisibility
When sum of all the digits of an integer is divisible by 9, then the integer is divisible by 9.