Bunuel
If a and b are distinct positive integers, what is the units digit of \(2^a8^b4^{a+b}\)?
(1) b = 24 and a < 24
(2) The greatest common factor of a and b is 12
Kudos for a correct solution. MANHATTAN GMAT OFFICIAL SOLUTION:This problem contains a common trap seen in many difficult DS questions. C is a tempting short-cut answer, as the combined statements would give us the values of both a and b, which we could simply plug into the expression and answer the question.
It is only by rephrasing that we can determine whether exact values for both a and b are truly required.
Manipulate the expression:
\(2^a8^b4^{a + b} = 2^a(2^3)^b(2^2)^{a + b}= 2^a(2^{3b})(2^{2a + 2b})= 2^{3a + 5b}\)
Remembering the units digit patterns for powers of 2 will help on this problem:
2^1 = 2
2^2 = 4
2^3 = 8
2^3 = 8
2^4 = 16
2^5 = 32
…etc.
The units digits for powers of 2 is a repeating pattern of [2, 4, 8, 6].
If we can determine the relationship of 3a + 5b to a multiple of 4 (i.e. where 2^(3a + 5b) is in the predictable 4-term repeating pattern of units digits), we will be able to answer the question. This question can be rephrased as “What is the remainder when 3a + 5b is divided by 4?”
(1) INSUFFICIENT: If b = 24, then 5b is a multiple of 4. However, we know only that a is an integer less than 24. Possible remainders when 3a is divided by 4 are 0, 1, 2, or 3.
(2) SUFFICIENT: If the greatest common factor of a and b is 12, then 12 must be a factor of both variables. That is, both a and b are multiples of 12 and thus also multiples of 4. As a result, 3a and 5b will be multiples of 4 as well, so the remainder will be 0 when 3a + 5b is divided by 4.
The correct answer is B.