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?
- A. Statement I alone is sufficient, II alone is not
- B. Statement II alone is sufficient, I alone is not
- C. Neither alone is sufficient, but together they are
- 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.
Practise more Logical Reasoning for Placements questionsLogical Reasoning for Placements: notes and key points
More Logical Reasoning for Placements questions
- Five hikers take 1, 3, 4, 8 and 12 minutes to cross a narrow bridge. They have one torch, at most two can cross together, a pair moves at…
- Twelve coins look identical, but exactly one is counterfeit and it is either heavier or lighter than the rest (you do not know which)…
- Ria ranks 12th from the top in a class. When Ria and Sia exchange ranks, Ria becomes 20th from the top and Sia becomes 23rd from the…
- Find the next number in the series: 3, 7, 15, 31, 63, ?
- In a certain code, COME is written as DPNF. How will GAME be written in that code?
- Find the odd one out: 27, 64, 125, 144, 216