Discrete MathematicsXYZ Homework Edition

⇩ Download ▾

Chapter 2: Counting

One of the first things you learn in mathematics is how to count. Now we want to count large collections of things quickly and precisely. For example:

  • In a group of 10 people, if everyone shakes hands with everyone else exactly once, how many handshakes took place?
  • How many ways can you distribute 10 girl scout cookies to 7 boy scouts?
  • How many anagrams are there of “anagram”?

Before tackling questions like these, let's look at the basics of counting.

Discrete Mathematics: An Open Introduction, 3rd edition, by Oscar Levin (discrete.openmathbooks.org), licensed under CC BY-SA 4.0; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or any other accessibility standard. Every page is built against an automated accessibility gate, and our target for the published editions is WCAG 2.2 Level AA. If something is unusable, please tell us.