Placement AptitudeHardTCS Digital · Infosys SP · Cognizant GenC

Is the positive integer n divisible by 6? Statement I: n² is divisible by 12. Statement II: n² is divisible by 18. Which is correct?

  1. A. Statement I alone is sufficient, II alone is not
  2. B. Statement II alone is sufficient, I alone is not
  3. C. Neither alone is sufficient, but together they are
  4. D. Each statement alone is sufficient

Correct answer: D. Each statement alone is sufficient

n² divisible by 12 means 2² and 3 divide n², so 2 | n and 3 | n (a prime dividing a square divides the number). Likewise n² divisible by 18 = 2·3² gives 2 | n and 3 | n. Either statement alone yields 6 | n.

More Logical Reasoning for Placements questions

Exams that ask this topic