The key concept here is perfect squares via prime factorisation — recognising that 96a/b is a perfect square only when every prime in the result has an even exponent.
Key setup: 96 = 2^5 x 3. For 96a/b to be a perfect square integer, b must divide 96a, and all prime exponents in the result must be even. Since a and b come from {2,3,4,5,6,7,8,9}, any 5 or 7 in either variable cannot be cancelled — so no valid pair involves 5 or 7.
Step 1 — Count total outcomes
a and b are chosen independently from {2,3,4,5,6,7,8,9}, so total outcomes = 8 x 8 = 64. Note: order matters — (3,2) and (2,3) are different draws, and a = b is allowed.
Step 2 — Enumerate valid (a, b) pairs
(3, 2): 96 x 3/2 = 144 = 12^2 ✓
(2, 3): 96 x 2/3 = 64 = 8^2 ✓
(6, 4): 96 x 6/4 = 144 = 12^2 ✓
(4, 6): 96 x 4/6 = 64 = 8^2 ✓
(9, 6): 96 x 9/6 = 144 = 12^2 ✓
(6, 9): 96 x 6/9 = 64 = 8^2 ✓
(3, 8): 96 x 3/8 = 36 = 6^2 ✓
(8, 3): 96 x 8/3 = 256 = 16^2 ✓
Total: 8 valid pairs.
Step 3 — Calculate probability
P = 8/64 = 1/8
Answer: B
---
Common trap: raffaeleprio's approach above is excellent but treats a and b as distinct (without replacement), giving 56 total arrangements instead of 64. Since the problem says "each chosen at random" independently, repetition is allowed — total sample space is 8 x 8 = 64, not C(8,2) x 2. Also easy to overlook (8,3): 96 x 8/3 = 256 = 16^2.
Takeaway: On prime factorisation probability problems, enumerate systematically and always check whether the draws are with or without replacement before setting up your denominator.
(Kavya | 725 on GMAT Focus Edition)