The GMAT is unlikely to test divisibility by 7.
An integer of the form XYZXYZ must be divisible by 7, but this issue seems irrelevant to the GMAT.
For this reason, I've replaced answer choice A with the value in red:
Max@Math Revolution
A is the set of 6-digit positive integers whose first three digits are same as their last three digits, written in the same order. Which of the following numbers must be a factor of every number in the set A?
A.
5 B. 11
C. 17
D. 19
E. 23
To determine whether an integer is divisible by 11:
1. From the left to right, sum alternating digits
2. Sum the remaining digits
3. Calculate the difference between the sums
4. If the difference is divisible by 11, so is the integer
Example:
5876861. Sum of the blue digits = 5+7+8= 20
2. Sum of the red digits = 8+6+6 = 20
3. Difference between the sums = 20-20 = 0
4. Since the difference is divisible by 11, 587686 is divisible by 11
Each integer in set A is constructed as follows:
XYZXYZ1. Sum of the blue digits = X+Z+Y
2. Sum of the red digits = Y+X+Z
3. Difference between the sums = (X+Z+Y) - (Y+X+Z) = 0
4. Since the difference is divisible by 11, XYZXYZ must be divisible by 11