Question #30807

Find number of selections of three different numbers from set {1, 2, 3, ...., 101} so that they form an A.P.
1

Expert's answer

2013-05-27T13:33:52-0400

.

Task. Find number ss of selections of three different numbers from set A={1,2,3,....,101}A=\{1,2,3,....,101\} so that they form an ariphmetic progression.

Solution. We should choose numbers of the form (a,a+d,a+2d)(a,a+d,a+2d) for some aAa\in A and d>0d>0. In particular, this implies that

1aa+2d101.1\leq a\leq a+2d\leq 101.

For each aAa\in A let sas_{a} be the number of d>0d>0 satisfying the inequaly above: a+2d101a+2d\leq 101. Then

s=a=1101sa.s=\sum_{a=1}^{101}s_{a}.

Notice that a+2d101a+2d\leq 101 implies that

2d101ad101a2.2d\leq 101-a\qquad\Rightarrow\qquad d\leq\frac{101-a}{2}.

Thus

1d101a2,1\leq d\leq\frac{101-a}{2},

and so

sa=[101a2],s_{a}=\left[\frac{101-a}{2}\right],

where [x][x] is the integer part of xx, e.g. [3.5]=3[3.5]=3.

Suppose a=2k+1a=2k+1 is odd. Then

sa=[101a2]=[1012k12]=[1002k2]=50k.s_{a}=\left[\frac{101-a}{2}\right]=\left[\frac{101-2k-1}{2}\right]=\left[\frac{100-2k}{2}\right]=50-k.

In particular,

s1=s20+1=500=50,s_{1}=s_{2*0+1}=50-0=50,

s3=s21+1=501=49,s_{3}=s_{2*1+1}=50-1=49,

\dots\dots\dots\dots\dots\dots

s99=s249+1=5049=1,s_{99}=s_{2*49+1}=50-49=1,

s101=s250+1=5050=0.s_{101}=s_{2*50+1}=50-50=0.

Recal that

1+2++n=i=1ni=n(n1)21+2+\dots+n=\sum_{i=1}^{n}i=\frac{n(n-1)}{2}

as the sum of first nn members of ariphmetic progression 1,2,3,1,2,3,\dots

Hence

sodd=a101, a is oddsa=n=050k=50(501)2=1225.s_{odd}=\sum_{a\leq 101,\ a\ is\ odd}s_{a}=\sum_{n=0}^{50}k=\frac{50*(50-1)}{2}=1225.

Now let a=2ka=2k be even Then

sa=[101a2]=[1012k2]=[1012k2]=[50.5k]=[50k+0.5]=50k.s_{a}=\left[\frac{101-a}{2}\right]=\left[\frac{101-2k}{2}\right]=\left[\frac{101-2k}{2}\right]=[50.5-k]=[50-k+0.5]=50-k.

In particular,

s2=s21=501=49,s_{2}=s_{2*1}=50-1=49,

s4=s22=502=48,s_{4}=s_{2*2}=50-2=48,

\dots\dots\dots\dots\dots\dots

s98=s249=5049=1,s_{98}=s_{2*49}=50-49=1,

s100=s250=5050=0.s_{100}=s_{2*50}=50-50=0.

Hence

seven=a100, a is evensa=n=049k=49(491)2=1176.s_{even}=\sum_{a\leq 100,\ a\ is\ even}s_{a}=\sum_{n=0}^{49}k=\frac{49*(49-1)}{2}=1176.

Thus

s=sodd+seven=1225+1176=2401.s=s_{odd}+s_{even}=1225+1176=2401.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS