Placement AptitudeVery hardGoldman Sachs OA · CAT
Two numbers a and b are chosen independently and uniformly from 1 to 20 (they may be equal). What is the probability that gcd(a, b) = 1?
- A. 3/5
- B. 6/π²
- C. 51/80
- D. 1/2
Correct answer: C. 51/80
Ordered coprime pairs: for each larger value n there are φ(n) partners below or equal, and Σφ(1..20) = 128, so 2 × 128 − 1 = 255 pairs (the pair (1, 1) is counted once). P = 255/400 = 51/80. 6/π² ≈ 0.61 is only the large-range limit.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- 10 people sit around a round table. Everyone shakes hands with everyone else except the two people sitting next to them. How many…
- Five cards are dealt from a pack of 52. What is the expected number of suits that do NOT appear in the hand?
- Two 2-element subsets of {1, 2, 3, 4, 5, 6} are chosen independently at random (they may be the same). What is the probability that they…
- In how many ways can 6 people be split into 3 teams of 2, if two particular people, Asha and Bina, must NOT be in the same team?
- A fair die is rolled until two DIFFERENT faces have appeared. What is the expected number of rolls?
- How many ordered triples (a, b, c) with each of a, b, c in {1, 2, …, 6} satisfy a < b and c < b?