Question
Question: Ram and Shyam select two numbers from 1 to n. If the probability that Shyam selects a number is less...
Ram and Shyam select two numbers from 1 to n. If the probability that Shyam selects a number is less than the number selected by Ram is 12863, then
A) n is odd
B) n is a perfect square
C) n is a cube
D) None of these
Solution
The number of ways of selecting two numbers from n numbers is nC2.
So, the probability that probability that Shyam selects a number is less than the number selected by Ram is given by n×nnC2 .
Now, solve n×nnC2 and compare it with 12863.
On getting the value of n, look at the number if it is odd, perfect square or a cube.
Complete step by step solution:
It is given that Ram and Shyam select two numbers from 1 to n.
So, the number of ways of selecting two numbers from n numbers is nC2 .
Ram and Shyam both have the same number of choices i.e. n. So, the number of possibilities of Ram and Shyam selecting a number is n×n .
Now, the probability that probability that Shyam selects a number is less than the number selected by Ram is given by n×nnC2 .
n×nnC2=n22!(n−2)!n! =2n2(n−2)!n(n−1)(n−2)! =2nn−1
It is given that the probability that Shyam selects a number is less than the number selected by Ram is 12863 .
Thus, 2nn−1=12863
∴128(n−1)=2×63×n ∴128n−128=126n ∴2n=128 ∴n=64
Thus, we get n as 64, which is a square of 8.
So, option (B) is correct.
Note:
Here, the condition that Shyam selects a number is less than the number selected by Ram, does not affect the number of choosing two numbers from n numbers as we have directly counted the number of selecting two numbers from n numbers and then we assign the higher number to Ram and smaller number to Shyam.