First slide
Combinations
Question

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

Moderate
Solution

Given numbers are 1, 2, 3, … n.
Let the three selected numbers in A.P. be a, b, c, then

b=a+c2 or a+c=2b----i

From (1) it is clear that a + c should be an even integer. This 
is possible only when both a and c are odd or both are even.
Case I. When n is even. Let n = 2m
The number of odd numbers = m
and number of even numbers = m
∴ number of selections of a and c from m odd numbers =  mC2
Number of selections of a and c from m even numbers =  mC2
∴ Number of ways in this case = 2 ⋅  mC2 = m (m – 1)

=n2(n21)=n(n2)4
Case II. When n is odd. Let n = 2m + 1
Then, number of odd numbers = m + 1
and number of even numbers = m
∴ Required number in this case =m+1C2+mC2

 =(m+1)m2+m(m1)2=m2=(n12)2 =14(n1)2

Get Instant Solutions
When in doubt download our app. Now available Google Play Store- Doubts App
Download Now
Doubts App