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(n2)4 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(n2)4 if n is even
D (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.
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(n21)2=n(n2)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 (n1)/2C2. Hence, the number of A.P's is
(n+1)/2C2+(n1)/2C2
=(n+12)(n+121)2+(n12)(n121)2
=18(n1)((n+1)+(n3))
=(n1)24

flag
Suggest Corrections
thumbs-up
0
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