If A = {1,2,3} and B = {1,2,3,4}, how many pairs (a,b) in A × B have a + b divisible by 3?
The governing concept is counting ordered pairs in a Cartesian product by using congruence modulo 3. For a=1, the sum 1+b must be divisible by 3, so b must leave remainder 2; only b=2 works, giving (1,2). For a=2, b must leave remainder 1, and b=1 or b=4 work, giving (2,1) and (2,4). For a=3, which has remainder 0, b must also have remainder 0; only b=3 works, giving (3,3). Thus the complete list contains four pairs. Therefore option B is correct. The other options result from omitting a valid pair or counting a pair whose sum is not divisible by 3.