Number of ways in which three numbers in A.P. can be selected from 1,2,3,...,n is
A
(n−12)2 if n is even
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
n(n−2)4 if n is even
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
(n−1)24 if n is odd
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct options are Bn(n−2)4 if n is even D(n−1)24 if n is odd If a,b,c are in A.P, then a and c both are odd or both are even. Case I: n is even The number of ways of selection of two even numbers a and c is n/2C2. Number of ways of selection of two odd numbers is n/2C2. Hence the number of A.P.'s is 2n/2C2=2n2(n2−1)2=n(n−2)4 Case II: n is odd. The number of ways of selection of two odd numbers a and c is (n+1)/2C2. The number of ways of selection of two even numbers a and c is (n−1)/2C2. Hence, the number of A.P's is (n+1)/2C2+(n−1)/2C2 =(n+12)(n+12−1)2+(n−12)(n−12−1)2 =18(n−1)((n+1)+(n−3)) =(n−1)24