{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Combinatorics

# 302400 total number of empty seats is 2400 2000400 by

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: be the set of candies, |A|=6 –  Let B be the set of children, |B|=3 –  The problem becomes “ﬁnd the number of surjec5ve mappings from A to B” (because each child must receive at least one candy) •  Thus the number of ways is thus (m=6, n=3) CSCE 235 Combinatorics 17 Outline •  Introduc5on •  Coun5ng: –  Product rule, sum rule, Principal of Inclusion Exclusion (PIE) –  Applica5on of PIE: Number of onto func5ons •  Pigeonhole principle –  Generalized, probabilis/c forms •  •  •  •  Permuta5ons Combina5ons Binomial Coeﬃcients Generaliza5ons –  Combina5ons with repe55ons, permuta5ons with indis5nguishable objects •  Algorithms –  Genera5ng combina5ons (1), permuta5ons (2) •  More Examples CSCE 235 Combinatorics 18 Pigeonhole Principle (1) •  If there are more pigeons than there are roots (pigeonholes), for at least one...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online