Professional Documents
Culture Documents
Assignment 2 Solutions
Assignment 2 Solutions
1.
= (a+n- 1)1
(a-1)|
(atn-1)
(a-1)!
(a - 1 ) n
=(atn ,).n!
(atne,) n!
(: atn- e NI)
Thus, theproduct of any n consecuti ve naturol nunbers Cs divis ible bu l
(b)
K3 K4
K4
K2
ki
K6
KY
6. No. of shelves = n 7
No. of dolls - r 3o
Case T: Distnct dolls
If no or deving is considered, the no. of ways Cs n',ce.yo
1f ordering of dolls is cons idered , no. of ways 's nY-'p z
Case T: Identical dolls
No of ways (^)= (6)
: 13 woys
people,i gets type Ascholarshp
in
7. of the 13
= 15
8. 1t t 3
1, C, 1, ; 1
(a)
This is simlar to destibuting 15 cdetical itens anorg 3 people
3uch tthat each gets atleast one.
solutions can be negative nnbers as well, but the
(Although iteger
constaints ln all options make the So lution set based on wbole nunbers)
Ai , 6 , c,y 1, 3 0
Ag' >0, 2 1 , 3 0
45
|A,) = 3+6-1, (:r 15 -9= 6)
=28
]Al 3+o-1c = 15 - (6 +9) = 0)
o
..Appy ing the prineiple of inclusion and exclusion, we get.
I
Total number of solutions = |Al-(IA;l + |A,) + JA,
= 120 - (45+ 28) + 1
2 31 6 7!
= 1854
100
t
79
0f these consdered nwnbers, cout of nunbers Cancelled = 79-5
|5316 59,7
|67,1)
|73,1 79,.22
8924
Hene the subseript denotes the index of the prine Dunber while
its position through the sceve. Clearly, 47 turns out as the 25-th prime. countig
12. (a) let us rake a Venn-dingan copturig -the
iformation.
Here circle
epre sents court of compurters having
syare of A dr ive s,
hose baving monitors and trangle of those Tunning windo w's - XP.
According to gven data : 30
St t + u t t =
pt q t Y
(Correction in the q,ues tion :
t = & (u1) 10' do not haye Adrives)
t ut r+
= 25
20
5+
t 6
From Oand ( ) , u = 14- S -
frorn , O ), v = 54
Frorm O,,w),0, w= 3
From O,-,p 14-4-s (8
(() No. of PCs with at least one
propert ptyYt S+ t + ut
30 - w (from O)
- 30 - 3 (frm )
= 27
= yt st (14-S-q) (from @)
= 14
where the shacded reg ion as well as the etire Space outs ide the
(from @)
a+ btc+ &+ 3 = 18 (given )
.'. 8+1 =4 people would atleast have birthdays io the sarne month.
14. Ket us divide the 12- day period into aups of 3 consecutive days as:
15. Let a,,a21 - , a3s present the nunber of uarter hours driven on the
1st,2nd, .. ., 35th elay vspectively.
Let n1 4
+ a35
maximun nunber of arter hourS = 15x4 = 60
Also, a; 1 or 2, ngs 60 i 1, 2,..,36 }
’ 35/a ie {1,2,., 353
If 35ni for some , 1st to ith day lecd to 35 yuarter- hours, i.e 8 cnd 3
ater hours. (10
35/ni for ay ., ss woil gield different Yemainders from
the set {i,2, .. ,3on divition by 35.
Now, the rt are 34 nmmainders cnd 35 numbers .
..By Pigeon -hole principle, ni-n is dirisible by 35 for Some i,j, i>j:
.. Fom (j+ 1)th day to cth day, 8 cnd 3 qyarter hours would be
driven.
16. Divcding the rectangle into 25 Smaller vectangles of 3x4 dinensions,
each with
diagonal of length Scm, we get
20
15
12-2r (-)Y29-r
for 6) 24-Y 16
’r 8
T&ric,
8+1 = 12 -2x8 l - 1 6
16
Coeffiient = 495
16
(1)(-2a(y
- (-2) 720 t 33
3n-5Y
= ncy (-4)
For e , 3n -5, =5 > rË = 3n
10
n! n!
(n-)!! (n-,+ 1)! (T, - 1)|
1
(n-Y)!i (1-1)!
(n-t). (n- ) (-)!
(13
’n= 15
KO. This 's sinilay to the distribution of 1? items among 4 people
-that Cach gets anH number of itens.
)T= 12
n+Y-1
’No. of terms =
21. (1tl1+y1t)"
= (1t* (1t ).. (1+ e)
n-terms
(4y1+g).(Lty)(t z)(1tx).. .. (L+z)
n- terms
Out of these n-terms
3n
ters, we choose mterms nd then
the se cond term of each of
them. Thçs happens in
multip'ways
rco
y
with eah teYm
having coeffiient
1.
n-1
k=1
k=1
n() K 1 k-1
: Gnsidey>(1 t )
Proof? we have,
+
Put c= 1
’-1 (14
k1 Ck-L
Thus poved.
23. (a) HS =
k-o
ko
k1
question)
=n2+ 2 (0s ing results proved in previou s
=RHS
(b) Consider the erpansion of (14 )^as:
(1+ ) - (L+e )° (1+ x)
(+e, t +
", we bave,
Comparing the cocffiient of
+
k=o
2
<HS =L (kt1) c
k=o
2 2
k=o k 0
n-1
+ ( Simiarly as 0)
)
1 n 2n- 1)
n! (n-1)|
2.nln!
(L5
2r
+ )c,o
cn
= RHS
(c) (HS =
k-o k+2
nt 1
k =0
(n+ 1) (k+2)
k=o (nt1)(ht2)
k nt2
2 (-1 (k+2) kta
nt2
(nt1)(nt2)\k=0 k=o
nti
1
tot2)
(nt1)(nt2) \k-o k=o
1
(nt2) (-1) nt1
C+ S - ) k nte
(nt1)(nt2) k=o K=o
1 (-yk
k=0 (kt1)
1 'c.(-)*
(n+1)
(-L* (16
1
(nt1) k= o nt'cnrk
(nt1) -coefficient of *"e iin the e-pansion of (it )* (L-*y
(-1) 2,n! 9n ts odd
(ot1)
(*
1
(-1) l n s even
(nt 1) 9
(2)*
Thus povcd.