SlideShare a Scribd company logo
We use the complementation principle. Clearly the 20 people can be seated in 20!
ways without any restrictions. So, we now want to substract the possibility where the
youngest(Y) and the oldest(O) are seated less than 3 seats appart. case1 - No seat in between -
Now we can treat (OY) or (YO) as just a single person. Hence # such seatings is 19! *2 (for OY
or YO ordering). Case 2 - 1 Seat in between. Now we observe that this duo can be seated in 18
ways - ie X^iOXYX^17-i ie some no of people on the left - can range from 0 to 17 no more. So,
seat them in 18 ways, permute OY,YO in 2 ways(this will multiply) and then permute the 18
people in 18! ways - 2*18*18! Case 2 - 2 in between, similar analysis gives us that the left guy
from O,Y can be seated in 17 ways - X^i O XX Y X^{16-i}. So i ranges from 0 to 16 ie 17
ways. ie 2* 17 * 18! So total possibilities = 20! - 2*18!(19 + 18 + 17) is the answer. The
previous answer has ignored more than 3 chairs possibility. Message me if you have any
doubts
Solution
We use the complementation principle. Clearly the 20 people can be seated in 20!
ways without any restrictions. So, we now want to substract the possibility where the
youngest(Y) and the oldest(O) are seated less than 3 seats appart. case1 - No seat in between -
Now we can treat (OY) or (YO) as just a single person. Hence # such seatings is 19! *2 (for OY
or YO ordering). Case 2 - 1 Seat in between. Now we observe that this duo can be seated in 18
ways - ie X^iOXYX^17-i ie some no of people on the left - can range from 0 to 17 no more. So,
seat them in 18 ways, permute OY,YO in 2 ways(this will multiply) and then permute the 18
people in 18! ways - 2*18*18! Case 2 - 2 in between, similar analysis gives us that the left guy
from O,Y can be seated in 17 ways - X^i O XX Y X^{16-i}. So i ranges from 0 to 16 ie 17
ways. ie 2* 17 * 18! So total possibilities = 20! - 2*18!(19 + 18 + 17) is the answer. The
previous answer has ignored more than 3 chairs possibility. Message me if you have any
doubts

More Related Content

PDF
It is used as the solvent .pdf
PDF
molality = mole wt of solvent 0.11 = mole 21.pdf
PDF
NaF would be having highest melting point because.pdf
PDF
The four bases in DNA are Adenine, Guanine, Cytos.pdf
PDF
b) HNO2,NO2^+ as when H+ will leave then NO2- wil.pdf
PDF
CO3 Sol.pdf
PDF
Number of moles of Calcium = 0.05Number of equivalents of calcium .pdf
PDF
A) d B) a, b, c Solution .pdf
It is used as the solvent .pdf
molality = mole wt of solvent 0.11 = mole 21.pdf
NaF would be having highest melting point because.pdf
The four bases in DNA are Adenine, Guanine, Cytos.pdf
b) HNO2,NO2^+ as when H+ will leave then NO2- wil.pdf
CO3 Sol.pdf
Number of moles of Calcium = 0.05Number of equivalents of calcium .pdf
A) d B) a, b, c Solution .pdf

More from anujmkt (20)

PDF
While doing capital investment, CFO analyze all the risk related to .pdf
PDF
What is Network security, or Securiing your data Through Network,N.pdf
PDF
TrueClay it the important of soil for holding plant nutrients in t.pdf
PDF
The statement is FalseOnly single target target agents are sunject.pdf
PDF
The reactants along with the oxidation states are Zn = 0 CuSO4.pdf
PDF
The scanner performs lexical analysis of a precise program (in our c.pdf
PDF
Solution Pseudoextinction refers to- D) a species evolving to t.pdf
PDF
Share Holders Equity = Current Assets + Net Fixed Assets - Current.pdf
PDF
The correct answer for m_1=2 is 2,3 for lSolutionThe corre.pdf
PDF
solimportance for an organization to implement an enterprise system.pdf
PDF
right idea but numbers are wrong all over the placeSolution.pdf
PDF
Please follow the data and description EBNF In the stream of c.pdf
PDF
Program of sorting using shell sort #include stdio.h #de.pdf
PDF
The sample proportion falls between 0.4 and 0.6Solution The s.pdf
PDF
namespace MonthNamesGUI{public partial class Form1 Form{en.pdf
PDF
+0.35, as the scatter is not showing any significant relationship to.pdf
PDF
Here ABE is one planeBCD is another perpendicular plane from the g.pdf
PDF
For governments that implement GASB Statement No. 34, the fund finan.pdf
PDF
Ethical theories are often divided into three types -1) Consequent.pdf
PDF
D. The International Organization on Computer Evidence (IOCE) was ap.pdf
While doing capital investment, CFO analyze all the risk related to .pdf
What is Network security, or Securiing your data Through Network,N.pdf
TrueClay it the important of soil for holding plant nutrients in t.pdf
The statement is FalseOnly single target target agents are sunject.pdf
The reactants along with the oxidation states are Zn = 0 CuSO4.pdf
The scanner performs lexical analysis of a precise program (in our c.pdf
Solution Pseudoextinction refers to- D) a species evolving to t.pdf
Share Holders Equity = Current Assets + Net Fixed Assets - Current.pdf
The correct answer for m_1=2 is 2,3 for lSolutionThe corre.pdf
solimportance for an organization to implement an enterprise system.pdf
right idea but numbers are wrong all over the placeSolution.pdf
Please follow the data and description EBNF In the stream of c.pdf
Program of sorting using shell sort #include stdio.h #de.pdf
The sample proportion falls between 0.4 and 0.6Solution The s.pdf
namespace MonthNamesGUI{public partial class Form1 Form{en.pdf
+0.35, as the scatter is not showing any significant relationship to.pdf
Here ABE is one planeBCD is another perpendicular plane from the g.pdf
For governments that implement GASB Statement No. 34, the fund finan.pdf
Ethical theories are often divided into three types -1) Consequent.pdf
D. The International Organization on Computer Evidence (IOCE) was ap.pdf

Recently uploaded (20)

PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Lesson notes of climatology university.
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
01-Introduction-to-Information-Management.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PDF
Trump Administration's workforce development strategy
PDF
Updated Idioms and Phrasal Verbs in English subject
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Lesson notes of climatology university.
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Anesthesia in Laparoscopic Surgery in India
01-Introduction-to-Information-Management.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
STATICS OF THE RIGID BODIES Hibbelers.pdf
UNIT III MENTAL HEALTH NURSING ASSESSMENT
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Trump Administration's workforce development strategy
Updated Idioms and Phrasal Verbs in English subject
Computing-Curriculum for Schools in Ghana
Orientation - ARALprogram of Deped to the Parents.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3

We use the complementation principle. Clearly the.pdf

  • 1. We use the complementation principle. Clearly the 20 people can be seated in 20! ways without any restrictions. So, we now want to substract the possibility where the youngest(Y) and the oldest(O) are seated less than 3 seats appart. case1 - No seat in between - Now we can treat (OY) or (YO) as just a single person. Hence # such seatings is 19! *2 (for OY or YO ordering). Case 2 - 1 Seat in between. Now we observe that this duo can be seated in 18 ways - ie X^iOXYX^17-i ie some no of people on the left - can range from 0 to 17 no more. So, seat them in 18 ways, permute OY,YO in 2 ways(this will multiply) and then permute the 18 people in 18! ways - 2*18*18! Case 2 - 2 in between, similar analysis gives us that the left guy from O,Y can be seated in 17 ways - X^i O XX Y X^{16-i}. So i ranges from 0 to 16 ie 17 ways. ie 2* 17 * 18! So total possibilities = 20! - 2*18!(19 + 18 + 17) is the answer. The previous answer has ignored more than 3 chairs possibility. Message me if you have any doubts Solution We use the complementation principle. Clearly the 20 people can be seated in 20! ways without any restrictions. So, we now want to substract the possibility where the youngest(Y) and the oldest(O) are seated less than 3 seats appart. case1 - No seat in between - Now we can treat (OY) or (YO) as just a single person. Hence # such seatings is 19! *2 (for OY or YO ordering). Case 2 - 1 Seat in between. Now we observe that this duo can be seated in 18 ways - ie X^iOXYX^17-i ie some no of people on the left - can range from 0 to 17 no more. So, seat them in 18 ways, permute OY,YO in 2 ways(this will multiply) and then permute the 18 people in 18! ways - 2*18*18! Case 2 - 2 in between, similar analysis gives us that the left guy from O,Y can be seated in 17 ways - X^i O XX Y X^{16-i}. So i ranges from 0 to 16 ie 17 ways. ie 2* 17 * 18! So total possibilities = 20! - 2*18!(19 + 18 + 17) is the answer. The previous answer has ignored more than 3 chairs possibility. Message me if you have any doubts