Combination of n Different Things Taken One or More at a Time
The number of...
Question
The number of ways in which 3 numbers in A.P. can be selected from 1,2,3,...,n is
A
14(n−1)2 if n is odd
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
14n(n−2) if n is even
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
12n(n−2) if n is even
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
12(n−1)2 if n is odd
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct options are A14n(n−2) if n is even D14(n−1)2 if n is odd The given numbers are 1,2,3,....n
Let the numbers chosen be a,b,c
a,b,c should be in A.P. ⇒b=a+c2⇒2b=a+c ∴a+c is even So, it should be either both even or both odd Case 1: n is even ⇒ Number of odd numbers =m= Number of even numbers =n2 So, number of selections =2⋅mC2=m(m−1)=n(n−2)4 Case 2: n is odd(n=2m+1)
⇒ Number of odd numbers =m+1 and number of even number =m