wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Number of ways in which three numbers in A.P. can be selected from 1,2,3,.....,n is

A
(n12)2 if n is even
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
n(n1)2 if n is even
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
(n1)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
B n(n1)2 if n is even
C (n1)24 if n is odd
If a,b,c are in A.P., then a and c both are odd or both are even.
Case1: n is even
The num,ber 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. is
2n/2C2=2n2(n21)2=n(n2)4
Case 2: n is odd
The number of ways of selection of two odd numbers a and c is (n+1)/2C2. Hence, the number of A.P.s is
(n+1)/2C2+ (n1)/2C2=\dfrac{\left(\dfrac{n+1}{2}\right)\left(\dfrac {n+1}2-1\right)}{2}+\dfrac{\left(\dfrac{n-1}{2}\right)\left(\dfrac {n-1}2-1\right)}{2}=\dfrac18(n-1)((n+1)+(n-3))=\dfrac{(n-1)^2}4$

flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Energy From the Sea
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon